Versions in this module Expand all Collapse all v2 v2.22.0 Sep 7, 2026 v2.21.0 Aug 24, 2026 Changes in this version + const UnknownOperation + var HTTPErrorCount = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var HTTPRequestCount = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var HTTPRequestDurationHistogram = prometheus.NewHistogramVec(prometheus.HistogramOpts{ ... }, []string{ ... }) + func NewHTTPClient(componentName string) *http.Client + func WrapHTTPClient(client *http.Client, componentName string) *http.Client + type Exporter struct + func NewExporter() *Exporter + func (e *Exporter) Collect(metrics chan<- prometheus.Metric) + func (e *Exporter) Describe(descs chan<- *prometheus.Desc) + type InstrumentedRoundTripper struct + func (rt *InstrumentedRoundTripper) RoundTrip(request *http.Request) (*http.Response, error)