Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Registry is a pointer to the Prometheus Registry. Registry *prometheus.Registry // TestMetric is a dummy metric example. TestMetric = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "myapp_processed_ops_total", Help: "The total number of processed events", }) )
Functions ¶
func RegisterAll ¶
func RegisterAll()
RegisterAll is a wrapper function for the universal Prometheus metric registration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.