metrics

package
v1.1.0-beta.0...-de36787 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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