Versions in this module Expand all Collapse all v1 v1.0.6 Dec 12, 2024 Changes in this version + var DefaultMeterName = "default-meter" + type Config struct + Gatherer prometheus.Gatherer + Port int + Registerer prometheus.Registerer + ServiceName string + func (c Config) GetGatherer() prometheus.Gatherer + func (c Config) GetRegisterer() prometheus.Registerer + type Meter = metric.Meter + type MeterOption = metric.MeterOption + type MeterProvider = metric.MeterProvider + type PrometheusMetric interface + Register func() prometheus.Registerer + Shutdown func(ctx context.Context) error + func NewPrometheusMetric(config Config) (PrometheusMetric, error) v1.0.5 Dec 12, 2024