metrics

package
v0.44.13 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 2 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(cache *core.Cache, count int, absolute bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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