Versions in this module Expand all Collapse all v0 v0.1.0 Jan 17, 2026 Changes in this version + func Handler(registry *Registry) http.Handler + func PrometheusHandler(registry *Registry) http.Handler + type LatencyBucket struct + Count int64 + UpperBound time.Duration + type LatencySnapshot struct + Buckets []LatencyBucket + Count int64 + Max time.Duration + Min time.Duration + Total time.Duration + type Registry struct + func New() *Registry + func NewWithBuckets(buckets []time.Duration) *Registry + func (r *Registry) End(start time.Time, status int, err error) + func (r *Registry) Snapshot() Snapshot + func (r *Registry) Start() time.Time + type Snapshot struct + Errors int64 + InFlight int64 + Latency LatencySnapshot + Requests int64 + Statuses map[int]int64