Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EgressReqDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Subsystem: metricsPrefix, Name: "egress_request_duration_seconds", Help: "The duration of the requests to the Cluster Registry API.", Buckets: reqDurBuckets, }, []string{"route", "method", "status_code"}, )
View Source
var ErrCnt = prometheus.NewCounterVec( prometheus.CounterOpts{ Subsystem: metricsPrefix, Name: "error_count", Help: "The total number of errors, labeled by the test", }, []string{"test"}, )
View Source
var TestDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Subsystem: metricsPrefix, Name: "test_duration_seconds", Help: "It's how much time took for the test to complete. For the e2e test the " + "sleeps are excluded.", Buckets: reqDurBuckets, }, []string{"test"}, )
View Source
var TestStatus = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Subsystem: metricsPrefix, Name: "test_status", Help: "The status of the last SLT, has values between 1 if the check passed and 0 " + "if it failed.", }, []string{"test"}, )
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics()
RegisterMetrics registers the metrics from this package
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.