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 ¶
IncrPromCounter increments a prometheus counter by the given amount
func InitPrometheusMetrics ¶
func InitPrometheusMetrics()
InitPrometheusMetrics sets up prometheus counters/gauges
func SetPromGauge ¶
SetPromGauge sets a prometheus gauge value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.