Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler(params HandlerParams)
RegisterHandler registers the Prometheus metrics handler in the debug server.
Types ¶
type HandlerParams ¶
type HandlerParams struct { dig.In Handler debug.Handler Gatherer prometheus.Gatherer Logger promhttp.Logger `optional:"true"` Opts promhttp.HandlerOpts `optional:"true"` }
HandlerParams provides a set of dependencies for a prometheus http handler constructor.
Click to show internal directories.
Click to hide internal directories.