metrics

package
v2.23.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DeploymentDurationKey     = "deployment_duration_seconds"
	NumberOfChangedObjectsKey = "number_of_changed_objects"
	NumberOfDeletedObjectsKey = "number_of_deleted_objects"
	NumberOfErrorsKey         = "number_of_errors"
	NumberOfOrphanObjectsKey  = "number_of_orphan_objects"
	NumberOfWarningsKey       = "number_of_warnings"
	PruneDurationKey          = "prune_duration_seconds"
	DeleteDurationKey         = "delete_duration_seconds"
	ValidateDurationKey       = "validate_duration_seconds"
)
View Source
const (
	KluctlDeploymentControllerSubsystem = "kluctldeployments"

	DeploymentIntervalKey = "deployment_interval_seconds"
	DryRunEnabledKey      = "dry_run_enabled"
	LastObjectStatusKey   = "last_object_status"
	PruneEnabledKey       = "prune_enabled"
	DeleteEnabledKey      = "delete_enabled"
	SourceSpecKey         = "source_spec"
	GitSourceSpecKey      = "git_source_spec"
	OciSourceSpecKey      = "oci_source_spec"
)

Metrics subsystem and all keys used by the kluctldeployment controller.

Variables

This section is empty.

Functions

func NewKluctlDeleteDuration

func NewKluctlDeleteDuration(namespace string, name string) prometheus.Observer

func NewKluctlDeleteEnabled

func NewKluctlDeleteEnabled(namespace string, name string) prometheus.Gauge

func NewKluctlDeploymentDuration

func NewKluctlDeploymentDuration(namespace string, name string, mode string) prometheus.Observer

func NewKluctlDeploymentInterval

func NewKluctlDeploymentInterval(namespace string, name string) prometheus.Gauge

func NewKluctlDryRunEnabled

func NewKluctlDryRunEnabled(namespace string, name string) prometheus.Gauge

func NewKluctlGitSourceSpec added in v2.22.0

func NewKluctlGitSourceSpec(namespace string, name string, url string, path string, ref string) prometheus.Gauge

func NewKluctlLastObjectStatus

func NewKluctlLastObjectStatus(namespace string, name string) prometheus.Gauge

func NewKluctlNumberOfChangedObjects

func NewKluctlNumberOfChangedObjects(namespace string, name string) prometheus.Gauge

func NewKluctlNumberOfDeletedObjects

func NewKluctlNumberOfDeletedObjects(namespace string, name string) prometheus.Gauge

func NewKluctlNumberOfErrors

func NewKluctlNumberOfErrors(namespace string, name string, action string) prometheus.Gauge

func NewKluctlNumberOfOrphanObjects

func NewKluctlNumberOfOrphanObjects(namespace string, name string) prometheus.Gauge

func NewKluctlNumberOfWarnings

func NewKluctlNumberOfWarnings(namespace string, name string, action string) prometheus.Gauge

func NewKluctlOciSourceSpec added in v2.22.0

func NewKluctlOciSourceSpec(namespace string, name string, url string, path string, ref string) prometheus.Gauge

func NewKluctlPruneDuration

func NewKluctlPruneDuration(namespace string, name string) prometheus.Observer

func NewKluctlPruneEnabled

func NewKluctlPruneEnabled(namespace string, name string) prometheus.Gauge

func NewKluctlSourceSpec

func NewKluctlSourceSpec(namespace string, name string, url string, path string, ref string) prometheus.Gauge

func NewKluctlValidateDuration

func NewKluctlValidateDuration(namespace string, name string) prometheus.Observer

Types

This section is empty.

Jump to

Keyboard shortcuts

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