Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumenter ¶
type Instrumenter struct {
// contains filtered or unexported fields
}
func New ¶
func New(subsystemIdentifier string, instrumentationRegistry prometheus.Registerer) *Instrumenter
New creates a new Instrumenter. The subsystemIdentifier will be used as part of the metric names (e.g. hcloud_<identifier>_requests_total).
func (*Instrumenter) InstrumentedRoundTripper ¶
func (i *Instrumenter) InstrumentedRoundTripper() http.RoundTripper
InstrumentedRoundTripper returns an instrumented round tripper.
Click to show internal directories.
Click to hide internal directories.