metrics

package
v1.1.0-beta.0...-04608f4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// TimerEventCounter is the counter for timer events
	TimerEventCounter *prometheus.CounterVec
)

Functions

func InitTimerMetrics

func InitTimerMetrics()

InitTimerMetrics initializes timers metrics.

func TimerHookWorkerCounter

func TimerHookWorkerCounter(hookClass string, event string) prometheus.Counter

TimerHookWorkerCounter creates a counter for a hook's event

func TimerScopeCounter

func TimerScopeCounter(scope string, event string) prometheus.Counter

TimerScopeCounter creates a counter for a scope

Types

This section is empty.

Jump to

Keyboard shortcuts

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