metrics

package
v0.0.0-...-9c723d5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MirrorSyncCount = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "mirrors_sync_total",
			Help: "Number of successful mirror syncs",
		},
		[]string{
			"mirror",
			"source_type",
			"destination_type",
		},
	)

	MirrorNSCurrentCount = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "mirrors_ns_current_count",
			Help: "Number of namespaces to which a secret has been successfully mirrored",
		},
		[]string{
			"mirror",
			"source_type",
		},
	)

	VaultLeaseRenewOkCount = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "mirrors_vault_lease_renew_ok_total",
			Help: "Number of successful lease renewals",
		},
		[]string{
			"mirror",
			"vault",
		},
	)

	VaultLeaseRenewErrorCount = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "mirrors_vault_lease_renew_error_total",
			Help: "Number of errored lease renewals",
		},
		[]string{
			"mirror",
			"vault",
			"http_code",
		},
	)
)

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