Documentation ¶
Index ¶
- Variables
- func InitPrometheus() error
- func UpdateNodeResourceTopologyWritesMetric(operation, trigger string)
- func UpdateOperationDelayMetric(opName, trigger string, operationDelay float64)
- func UpdatePodResourceApiCallsFailureMetric(funcName string)
- func UpdateWakeupDelayMetric(trigger string, wakeupDelay float64)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PodResourceApiCallsFailure = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "rte_podresource_api_call_failures_total", Help: "The total number of podresource api calls that failed by the updater", }, []string{"node", "function_name"}) NodeResourceTopologyWrites = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "rte_noderesourcetopology_writes_total", Help: "The total number of NodeResourceTopology writes", }, []string{"node", "operation", "trigger"}) OperationDelay = promauto.NewGaugeVec(prometheus.GaugeOpts{ Name: "rte_operation_delay_milliseconds", Help: "The latency between exporting stages, milliseconds", }, []string{"node", "operation_name", "trigger"}) WakeupDelay = promauto.NewGaugeVec(prometheus.GaugeOpts{ Name: "rte_wakeup_delay_milliseconds", Help: "The wakeup delay of the monitor code, milliseconds", }, []string{"node", "trigger"}) )
Functions ¶
func InitPrometheus ¶
func InitPrometheus() error
func UpdateNodeResourceTopologyWritesMetric ¶ added in v0.6.1
func UpdateNodeResourceTopologyWritesMetric(operation, trigger string)
func UpdatePodResourceApiCallsFailureMetric ¶
func UpdatePodResourceApiCallsFailureMetric(funcName string)
func UpdateWakeupDelayMetric ¶ added in v0.1.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.