Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func 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.
Click to show internal directories.
Click to hide internal directories.