metrics

package
v0.0.0-...-be1e11a Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentHTTPClient

func InstrumentHTTPClient(hc *http.Client, n string)

InstrumentHTTPClient instruments an existing *http.Client.

func NewInstrumentedHTTPClient

func NewInstrumentedHTTPClient(n string) *http.Client

NewInstrumentedHTTPClient returns a *http.Client that has been instrumented to track request latencies, types and statuses.

Types

This section is empty.

Jump to

Keyboard shortcuts

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