metrics

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PodsDeletedTotal is the total number of deleted pods.
	PodsDeletedTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Namespace: "chaoskube",
		Name:      "pods_deleted_total",
		Help:      "The total number of pods deleted",
	}, []string{"namespace"})
	// IntervalsTotal is the total number of intervals, i.e. call to Run().
	IntervalsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "chaoskube",
		Name:      "intervals_total",
		Help:      "The total number of pod termination logic runs",
	})
	// ErrorsTotal is the total number of errors encountered while trying to terminate pods.
	ErrorsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Namespace: "chaoskube",
		Name:      "errors_total",
		Help:      "The total number of errors on terminate victim operation",
	})
	// TerminationDurationSeconds is a histogram over the time it took to terminate pods.
	TerminationDurationSeconds = promauto.NewHistogram(prometheus.HistogramOpts{
		Namespace: "chaoskube",
		Name:      "termination_duration_seconds",
		Help:      "The time it took a single pod termination to finish",
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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