Documentation ¶
Overview ¶
Package metrics provides a prometheus/open-metrics route.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Middleware = newCollectorMiddlware()
Middleware is the global metrics middleware.
Functions ¶
func ListenAndServe ¶
ListenAndServe start an HTTP server only to serve the /metrics route.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.