Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCounter ¶
func GetCounter(name, namespace string) prometheus.Counter
GetCounter return the prometheus counter of given name.
func GetCounterValue ¶
func RegisterPrometheusCounter ¶
func RegisterPrometheusCounter(name, helpText, namespace string)
RegisterPrometheusCounter register a new Counter of given name with help text.
func StartPrometheusMetricsServer ¶
func StartPrometheusMetricsServer()
StartPrometheusMetricsServer starts a metric server handling "/metrics" on "localhost:8081" exposing the registered metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.