metrics

package
v0.20.42 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ArmadaExecutorMetricsPrefix = "armada_executor_"

Variables

This section is empty.

Functions

func RecordJobFailure added in v0.20.42

func RecordJobFailure(category, subcategory string)

RecordJobFailure increments the per-category failure counter. Should be called from paths that commit to emitting a JobFailedEvent — retryable pod issues that emit a ReturnLease instead must not call this.

An empty category indicates no classification happened (e.g. the feature flag is off or the classifier is nil); in that case no metric is emitted. An empty subcategory is allowed and indicates a matched rule with no subcategory set; it produces an empty-string label value.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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