Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Middleware ¶
type Middleware interface { // WrapHandler wraps the given HTTP handler for instrumentation. WrapHandler(handlerName string, handler http.Handler) http.HandlerFunc }
func New ¶
func New(registry prometheus.Registerer, buckets []float64) Middleware
New returns a Middleware interface.
Click to show internal directories.
Click to hide internal directories.