introspection

package
v4.0.0-rc.22 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(next http.Handler, path string) http.Handler

Handler wraps the provided http.Handler and provides latency recordings per incoming http path using the open telemetry library

The passed in pattern will be used as a metric key along with the http request method. For example a resulting prometheus latency metric will take the form "clair_http_latence{http_path={path}, http.method={method}}"

Types

This section is empty.

Jump to

Keyboard shortcuts

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