common

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KubeclientDuration = metrics.NewMetrics(prometheus.HistogramOpts{
	Name:    "kubeclient_execution_duration_seconds",
	Help:    "duration of kubeclient method",
	Buckets: prometheus.DefBuckets,
}, "method")

KubeclientDuration used to collect durations of k8s api calls

View Source
var ReconcileDuration = metrics.NewMetrics(prometheus.HistogramOpts{
	Name:    "reconcile_duration_seconds",
	Help:    "duration of the each reconcile loop",
	Buckets: metrics.ExtendedDefBuckets,
}, "type")

ReconcileDuration used to collect durations of reconcile loops

View Source
var ReservationDuration = metrics.NewMetrics(prometheus.HistogramOpts{
	Name:    "ac_reservation_duration",
	Help:    "AvailableCapacity reservation duration",
	Buckets: prometheus.ExponentialBuckets(0.005, 1.5, 10),
}, "method")

ReservationDuration used to collect ReservationHelper methods durations

View Source
var SystemCMDDuration = metrics.NewMetrics(prometheus.HistogramOpts{
	Name:    "system_utils_duration_seconds",
	Help:    "Duration of the each system util",
	Buckets: metrics.ExtendedDefBuckets,
}, "name")

SystemCMDDuration used to collect durations of system utils

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