metrics

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: constants.JobSetSubsystemName,
			Name:      "failed_total",
			Help:      `The total number of failed JobSets`,
		}, []string{"jobset_name"},
	)

	CompletedTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: constants.JobSetSubsystemName,
			Name:      "completed_total",
			Help:      `The total number of completed JobSets`,
		}, []string{"jobset_name"},
	)
)

Functions

func JobSetCompleted

func JobSetCompleted(namespaceName string)

JobSetCompleted records the completed case label values: namespace/name

func JobSetFailed

func JobSetFailed(namespaceName string)

JobSetFailed records the failed case label values: namespace/name

func Register

func Register()

Types

This section is empty.

Jump to

Keyboard shortcuts

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