monitoring

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DeployDurationMetricName   = "deploy_duration_seconds"
	GitCloneDurationMetricName = "git_clone_duration_seconds"
)

Variables

View Source
var (
	DeployDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
		Name: DeployDurationMetricName,
		Help: "Time spent running the deploy command",
	})

	GitCloneDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
		Name: GitCloneDurationMetricName,
		Help: "Time spent running the git clone command",
	})
)

Functions

func RegisterMetrics

func RegisterMetrics()

Types

This section is empty.

Jump to

Keyboard shortcuts

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