Versions in this module Expand all Collapse all v1 v1.0.5-aliyun-alpha Jun 27, 2024 v1.0.4 Dec 14, 2021 Changes in this version + func HTTPHandler() http.Handler + func MustRegister(m Metric) + func Register(m Metric) error + type Counter interface + Add func(value float64, labelValues ...string) + func NewCounter(name, desc string, labelNames []string) Counter + type Exporter interface + HTTPHandler func() http.Handler + NewCounter func(name, desc string, labelNames []string) Counter + NewGauge func(name, desc string, labelNames []string) Gauge + NewHistogram func(name, desc string, buckets []float64, labelNames []string) Histogram + type Gauge interface + Set func(value float64, labelValues ...string) + func NewGauge(name, desc string, labelNames []string) Gauge + type Histogram interface + Observe func(value float64, labelValues ...string) + func NewHistogram(name, desc string, buckets []float64, labelNames []string) Histogram + type Metric interface + Register func() error + Reset func() + Unregister func() bool