Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2026 Changes in this version + const BreakerClosed + const BreakerHalfOpen + const BreakerOpen + type Metrics struct + func New() *Metrics + func (m *Metrics) AuditUnrecordable() + func (m *Metrics) Handler() http.Handler + func (m *Metrics) PoolExhausted(downstream string) + func (m *Metrics) RecordCall(client, downstream, decision string, latency time.Duration) + func (m *Metrics) Registry() *prometheus.Registry + func (m *Metrics) SetBreakerState(downstream string, state int) + func (m *Metrics) SetDownstreamUp(downstream string, up bool) + func (m *Metrics) SetPoolInUse(downstream string, n int)