prometheus

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FeeStatsIntervalEnv                  = "PROM_FEE_STATS_INTERVAL"
	DefaultFeeStatsCollectionInterval    = 12 * time.Hour
	NodeStatsIntervalEnv                 = "PROM_NODE_STATS_INTERVAL"
	DefaultNodeStatsCollectionInterval   = 15 * time.Second
	RequestStatsIntervalEnv              = "PROM_REQUEST_STATS_INTERVAL"
	DefaultRecordStatsCollectionInterval = 15 * time.Second
	PayoutStatsIntervalEnv               = "PROM_PAYOUT_STATS_INTERVAL"
	DefaultPayoutStatsCollectionInterval = 1 * time.Minute
)

Variables

This section is empty.

Functions

func RecordMetrics

func RecordMetrics(repos repositories.Repos)

RecordMetrics starts goroutines for recording metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL