metrics

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordShuffles

func RecordShuffles(ctx context.Context, k8sClient client.Client, node *v1.Node, currentProfile string) error

Actually increment shuffle counters.

func RecordTransitionFailure added in v1.8.0

func RecordTransitionFailure(profile string)

func RegisterMaintenanceMetrics

func RegisterMaintenanceMetrics()

func TouchShuffles added in v0.16.1

func TouchShuffles(ctx context.Context, k8sClient client.Client, node *v1.Node, currentProfile string) error

Add zero to shuffle counters as prometheus dislikes missing metrics. This should require less requests than RecordShuffles().

Types

This section is empty.

Jump to

Keyboard shortcuts

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