metrics

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Vector label keys
	LabelSubscriptionNameSpace = "subscription_namespace"
	LabelSubscriptionName      = "subscription_name"
)

Variables

View Source
var CollectorsForRegistration []prometheus.Collector
View Source
var GitFailedPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "git_failed_pull_time",
	Help: "Histogram of failed git pull latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})
View Source
var GitSuccessfulPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "git_successful_pull_time",
	Help: "Histogram of successful git pull latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})
View Source
var LocalDeploymentFailedPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "local_deployment_failed_time",
	Help: "Histogram of failed local deployment latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})
View Source
var LocalDeploymentSuccessfulPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "local_deployment_successful_time",
	Help: "Histogram of successful local deployment latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})
View Source
var PropagationFailedPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "propagation_failed_time",
	Help: "Histogram of failed propagation latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})
View Source
var PropagationSuccessfulPullTime = *prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name: "propagation_successful_time",
	Help: "Histogram of successful propagation latency",
}, []string{LabelSubscriptionNameSpace, LabelSubscriptionName})

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