metrics

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Registry is a pointer to the Prometheus Registry.
	Registry *prometheus.Registry

	// TestMetric is a dummy metric example.
	TestMetric = prometheus.NewGauge(prometheus.GaugeOpts{
		Name: "myapp_processed_ops_total",
		Help: "The total number of processed events",
	})
)

Functions

func RegisterAll

func RegisterAll()

RegisterAll is a wrapper function for the universal Prometheus metric registration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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