metrics

package
v0.0.3-RC17 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// Prefix for the metrics of the state package.
	Prefix = "state_"
	// ExecutorProcessingTimeName is the name of the metric that shows the processing time in the executor.
	ExecutorProcessingTimeName = Prefix + "executor_processing_time"
	// CallerLabelName is the name of the label for the caller.
	CallerLabelName = "caller"
)

Variables

This section is empty.

Functions

func ExecutorProcessingTime

func ExecutorProcessingTime(caller string, lastExecutionTime time.Duration)

ExecutorProcessingTime observes the last processing time of the executor in the histogram vector by the provided elapsed time and for the given label.

func Register

func Register()

Register the metrics for the sequencer package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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