instrumentation

package
v1.33.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: 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.Registry) *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