esmetrics

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExternalSecretSubsystem            = "externalsecret"
	SyncCallsKey                       = "sync_calls_total"
	SyncCallsErrorKey                  = "sync_calls_error"
	ExternalSecretStatusConditionKey   = "status_condition"
	ExternalSecretReconcileDurationKey = "reconcile_duration"
)

Variables

This section is empty.

Functions

func GetCounterVec

func GetCounterVec(key string) *prometheus.CounterVec

func GetGaugeVec

func GetGaugeVec(key string) *prometheus.GaugeVec

func SetUpMetrics

func SetUpMetrics()

Called at the root to set-up the metric logic using the config flags provided.

func UpdateExternalSecretCondition

func UpdateExternalSecretCondition(es *esv1beta1.ExternalSecret, condition *esv1beta1.ExternalSecretStatusCondition, value float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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