Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegisterMetricsHandler ¶
func MustRegisterMetricsHandler(mux mux)
MustRegisterMetricsHandler registers the metrics endpoint.
func MustRegisterMetricsHandlerNoDefaultMetrics ¶
func MustRegisterMetricsHandlerNoDefaultMetrics(mux mux)
MustRegisterMetricsHandlerNoDefaultMetrics registers the metrics endpoint but removes all of the default metrics that prometheus includes, so only custom metrics are collected and reported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.