metrics

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new metrics reconciler and adds it to the Manager.

Types

type MetricsReconciler

type MetricsReconciler struct {
	Client client.Client

	// Interval is the length of time we sleep between metrics calculations.
	Interval time.Duration
	// contains filtered or unexported fields
}

func (*MetricsReconciler) Start

func (mr *MetricsReconciler) Start(ctx context.Context) error

Start begins the metrics loop.

Jump to

Keyboard shortcuts

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