Versions in this module Expand all Collapse all v1 v1.2.0 Jun 24, 2026 Changes in this version + const Namespace + type CounterSmoother struct + Alpha float64 + func NewCounterSmoother(alpha float64) *CounterSmoother + func (s *CounterSmoother) Reset() + func (s *CounterSmoother) Update(raw float64) float64 + type RequestsCounter struct + func NewRequestsCounter(opts prometheus.Opts, labelNames []string) *RequestsCounter + func (c *RequestsCounter) Collect(ch chan<- prometheus.Metric) + func (c *RequestsCounter) Describe(ch chan<- *prometheus.Desc) + func (c *RequestsCounter) Inc(protocol, code string) + func (c *RequestsCounter) Seed(protocol, code string) + func (c *RequestsCounter) Snapshot() map[string]float64