monitoring

package
v0.0.0-...-efd69ef Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActiveGitLabRequests = promauto.NewGauge(prometheus.GaugeOpts{
	Name: "badge_api_gitlab_active_requests",
	Help: "The number of active requests to GitLab",
})
View Source
var CheckTime = promauto.NewHistogram(prometheus.HistogramOpts{
	Name:    "badge_api_check_time_ms",
	Help:    "The time it takes to run a check",
	Buckets: ResponseTimeBuckets,
})
View Source
var ResponseTime = promauto.NewHistogram(prometheus.HistogramOpts{
	Name:    "badge_api_response_time_ms",
	Help:    "The response time of the API",
	Buckets: ResponseTimeBuckets,
})
View Source
var ResponseTimeBuckets = []float64{500, 1000, 2000, 5000, 10000, 20000, 50000, 100000}
View Source
var ScanAmount = promauto.NewCounter(prometheus.CounterOpts{
	Name: "badge_api_scan_amount",
	Help: "The total number of scans",
})

Functions

This section is empty.

Types

This section is empty.

Source Files

  • prom.go

Jump to

Keyboard shortcuts

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