metrics

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProjectReconcileErrors = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "project_reconcile_errors_total",
			Help: "Total number of reconciliation errors per project.",
		},
		[]string{"project"},
	)
	ProjectTTLSecondsInitial = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "project_ttl_seconds_initial",
			Help: "Initial TTL per project. Zero means that the project has no TTL, i.e. does not expire.",
		},
		[]string{"project"},
	)
	ProjectTTLSecondsRemaining = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "project_ttl_seconds_remaining",
			Help: "Remaining TTL per project. Zero, and therefore not meaningful, if the project has no TTL set.",
		},
		[]string{"project"},
	)
	ProjectCreationTime = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "project_creation_time",
			Help: "Creation time of the project in epoch seconds. Zero means that the project has not been created yet.",
		},
		[]string{"project"},
	)
	ProjectExpired = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "project_expired",
			Help: "Whether project is expired. Because it has no TTL or TTL is expired. One means true, zero means false.",
		},
		[]string{"project"},
	)
)

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