Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2022 Changes in this version + const LatencyKey + const RestClientSubsystem + const ResultKey + var RequestLatency = prometheus.NewHistogramVec(prometheus.HistogramOpts{ ... }, []string{ ... }) + type LatencyAdapter struct + func (l *LatencyAdapter) Observe(_ context.Context, verb string, u url.URL, latency time.Duration) + type RegistererGatherer interface + var Registry RegistererGatherer = prometheus.NewRegistry() + type Server struct + func NewServer(port int) (*Server, error) + func (s *Server) Shutdown() error + func (s *Server) Start() (err error)