metrics

package
v0.0.0-...-5292f58 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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