Documentation
¶
Index ¶
- func CHIInitZeroValues(ctx context.Context, src labelsSource)
- func CHIReconcilesAborted(ctx context.Context, src labelsSource)
- func CHIReconcilesCompleted(ctx context.Context, src labelsSource)
- func CHIReconcilesStarted(ctx context.Context, src labelsSource)
- func CHIReconcilesTimings(ctx context.Context, src labelsSource, seconds float64)
- func CHIRegister(ctx context.Context, src labelsSource)
- func CHIUnregister(ctx context.Context, src labelsSource)
- func HostReconcilesCompleted(ctx context.Context, src labelsSource)
- func HostReconcilesErrors(ctx context.Context, src labelsSource)
- func HostReconcilesRestart(ctx context.Context, src labelsSource)
- func HostReconcilesStarted(ctx context.Context, src labelsSource)
- func HostReconcilesTimings(ctx context.Context, src labelsSource, seconds float64)
- func PodAdd(ctx context.Context)
- func PodDelete(ctx context.Context)
- func PodUpdate(ctx context.Context)
- type Metrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CHIInitZeroValues ¶
func CHIReconcilesAborted ¶
func CHIReconcilesCompleted ¶
func CHIReconcilesStarted ¶
func CHIReconcilesTimings ¶
func CHIRegister ¶
func CHIUnregister ¶
func HostReconcilesCompleted ¶
func HostReconcilesErrors ¶
func HostReconcilesRestart ¶
func HostReconcilesStarted ¶
func HostReconcilesTimings ¶
Types ¶
type Metrics ¶
type Metrics struct { // CHIReconcilesStarted is a number (counter) of started CHI reconciles CHIReconcilesStarted metric.Int64Counter // CHIReconcilesCompleted is a number (counter) of completed CHI reconciles. // In ideal world number of completed reconciles should be equal to CHIReconcilesStarted CHIReconcilesCompleted metric.Int64Counter // CHIReconcilesAborted is a number (counter) of explicitly aborted CHI reconciles. // This counter does not includes reconciles that we not completed due to external reasons, such as operator restart CHIReconcilesAborted metric.Int64Counter // CHIReconcilesTimings is a histogram of durations of successfully completed CHI reconciles CHIReconcilesTimings metric.Float64Histogram // CHI is a number (counter) of available CHIs CHI metric.Int64UpDownCounter // HostReconcilesStarted is a number (counter) of started host reconciles HostReconcilesStarted metric.Int64Counter // HostReconcilesCompleted is a number (counter) of completed host reconciles. // In ideal world number of completed reconciles should be equal to HostReconcilesStarted HostReconcilesCompleted metric.Int64Counter // HostReconcilesRestarts is a number (counter) of host restarts during reconcile HostReconcilesRestarts metric.Int64Counter // HostReconcilesErrors is a number (counter) of failed (non-completed) host reconciles. HostReconcilesErrors metric.Int64Counter // HostReconcilesTimings is a histogram of durations of successfully completed host reconciles HostReconcilesTimings metric.Float64Histogram PodAddEvents metric.Int64Counter PodUpdateEvents metric.Int64Counter PodDeleteEvents metric.Int64Counter }
Metrics is a set of metrics that are tracked by the operator
Click to show internal directories.
Click to hide internal directories.