Versions in this module Expand all Collapse all v2 v2.0.0 Jul 8, 2024 Changes in this version + func Context() context.Context + func NewHealthcheckMetric(withAdditionalLabels prometheus.Labels) prometheus.Collector + func PProfHandler() http.Handler + func SetContext(c context.Context) + func SetHealthState(state bool) + func SetupMetrics(opts ...SetupMetricsOpt) error + func StandardMetrics() []prometheus.Collector + func WhenHaveMetricsRegistry(f func(reg *prometheus.Registry)) + type AddMetrics struct + Metrics []prometheus.Collector + type HcHandler struct + func (HcHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type NoStandardMetrics struct + type SetupMetricsOpt interface