Documentation
¶
Overview ¶
Singleton so that it's easier to use in other packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ReportInterval = 10 * time.Second
)
Functions ¶
func IncrPromCounter ¶ added in v0.30.0
IncrPromCounter increments a prometheus counter by the given amount
func InitPrometheusMetrics ¶ added in v0.30.0
func InitPrometheusMetrics()
InitPrometheusMetrics sets up prometheus counters/gauges
func SetPromGauge ¶ added in v0.30.0
SetPromGauge sets a prometheus gauge value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.