Documentation ¶
Index ¶
- func InstrumentMetricHandler(registry *prometheus.Registry, handler http.Handler) http.Handler
- func RegisterCustomResourceMuxHandlers(mux *http.ServeMux, customResourceRegistry *prometheus.Registry, ...)
- func RegisterExporterMuxHandlers(mux *http.ServeMux, exporterRegistry *prometheus.Registry)
- func RegisterRBDMirrorMuxHandlers(mux *http.ServeMux, rbdRegistry *prometheus.Registry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentMetricHandler ¶
InstrumentMetricHandler is a middleware that wraps the provided http.Handler to observe requests sent to the exporter
func RegisterCustomResourceMuxHandlers ¶
func RegisterCustomResourceMuxHandlers(mux *http.ServeMux, customResourceRegistry *prometheus.Registry, exporterRegistry *prometheus.Registry)
RegisterCustomResourceMuxHandlers registers the handlers needed to serve metrics about Custom Resources
func RegisterExporterMuxHandlers ¶
func RegisterExporterMuxHandlers(mux *http.ServeMux, exporterRegistry *prometheus.Registry)
RegisterExporterMuxHandlers registers the handlers needed to serve the exporter self metrics
func RegisterRBDMirrorMuxHandlers ¶ added in v0.4.11
func RegisterRBDMirrorMuxHandlers(mux *http.ServeMux, rbdRegistry *prometheus.Registry)
RegisterRBDMirrorMuxHandlers registers handlers needed to serve RBD mirror metrics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.