MCPcopy
hub / github.com/grafana/dskit / RegisterInstrumentation

Function RegisterInstrumentation

server/server.go:579–581  ·  view source on GitHub ↗

RegisterInstrumentation on the given router.

(router *mux.Router)

Source from the content-addressed store, hash-verified

577
578// RegisterInstrumentation on the given router.
579func RegisterInstrumentation(router *mux.Router) {
580 RegisterInstrumentationWithGatherer(router, prometheus.DefaultGatherer)
581}
582
583// RegisterInstrumentationWithGatherer on the given router.
584func RegisterInstrumentationWithGatherer(router *mux.Router, gatherer prometheus.Gatherer) {

Callers

nothing calls this directly

Tested by

no test coverage detected