Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewTransportWithMetrics ¶ added in v1.16.0
func NewTransportWithMetrics(gaugeVec *prometheus.GaugeVec, counterVec *prometheus.CounterVec) http.RoundTripper
NewTransportWithMetrics will create a custom http.RoundTripper that can be used with an http.Client. The RoundTripper will report metrics based on the collectors passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.