prometheus

package
v0.0.0-...-703044a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPrometheusExporter

func RegisterPrometheusExporter(
	ms telemetry.MetricSink, reg prometheus.Registerer, gat prometheus.Gatherer,
) (http.Handler, error)

RegisterPrometheusExporter sets the global metrics handler to the provided Prometheus registerer and gatherer. Returned is an HTTP handler that can be used to read metrics from.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL