metrics

package
v0.44.34 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Metrics registration and handling package.

Index

Constants

This section is empty.

Variables

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

	// Metrics struct.
	Metrics *metrics
)

Functions

func RegisterAll

func RegisterAll()

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

func UpdateCountMetric added in v0.43.4

func UpdateCountMetric(cacheName string, count int64, absolute bool)

UpdateCountMetric is an umbrella function to catch all possible scenarios (mostly) where the metrics should be noted down.

Types

This section is empty.

Jump to

Keyboard shortcuts

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