instrumentation

package
v0.0.0-...-66c13d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL