Documentation ¶
Index ¶
- func GetHandler(collector prometheus.Collector) http.Handler
- func NewCollector(client *v3.Client) prometheus.Collector
- func UpdateLeader(flag bool)
- func UpdateNodeRebootStatus(nodeStatus map[string]map[string]bool)
- func UpdateOperationPhase(phase cke.OperationPhase, ts time.Time)
- func UpdateRebootQueueEntries(numEntries int)
- func UpdateRebootQueueItems(counts map[string]int)
- func UpdateSabakanIntegration(isSuccessful bool, workersByRole map[string]int, unusedMachines int, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHandler ¶
func GetHandler(collector prometheus.Collector) http.Handler
GetHandler returns http.Handler for prometheus metrics.
func NewCollector ¶
func NewCollector(client *v3.Client) prometheus.Collector
NewCollector returns a new prometheus.Collector.
func UpdateNodeRebootStatus ¶ added in v1.24.1
UpdateNodeRebootStatus updates "node_reboot_status".
func UpdateOperationPhase ¶
func UpdateOperationPhase(phase cke.OperationPhase, ts time.Time)
UpdateOperationPhase updates "operation_phase" and its timestamp.
func UpdateRebootQueueEntries ¶ added in v1.22.8
func UpdateRebootQueueEntries(numEntries int)
UpdateRebootQueueEntries updates "reboot_queue_entries".
func UpdateRebootQueueItems ¶ added in v1.22.8
UpdateRebootQueueItems updates "reboot_queue_items".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.