Versions in this module Expand all Collapse all v0 v0.1.0 Oct 12, 2026 Changes in this version + const CacheLookups + const EpochAdvances + const JobsFailed + const JobsInFlight + const JobsStarted + const JobsWaiting + const OperationDuration + const Operations + const OutcomeAuthentication + const OutcomeError + const OutcomeInvalid + const OutcomeOK + const OutcomeRefused + const OutcomeShredded + const OutcomeUnavailable + const OutcomeUnusable + const RewrappedKeys + const RotationOverdue + const Rotations + type Label struct + Key string + Value string + func L(key, value string) Label + type Metrics interface + Count func(name string, delta int64, labels ...Label) + Gauge func(name string, value float64, labels ...Label) + Observe func(name string, d time.Duration, labels ...Label) + var Discard Metrics = discard{} + type Recorder struct + func NewRecorder() *Recorder + func (r *Recorder) Count(name string, delta int64, labels ...Label) + func (r *Recorder) Counter(name string, labels ...Label) int64 + func (r *Recorder) Gauge(name string, value float64, labels ...Label) + func (r *Recorder) GaugeValue(name string, labels ...Label) (float64, bool) + func (r *Recorder) Names() []string + func (r *Recorder) Observations(name string, labels ...Label) int + func (r *Recorder) Observe(name string, d time.Duration, labels ...Label)