metrics

package
v1.32.7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDurationOfReconciliation added in v1.32.0

func AddDurationOfReconciliation(kind string, duration time.Duration)

AddDurationOfReconciliation Add duration it takes to reconcile

func CustomResourceAdded

func CustomResourceAdded(kind string)

CustomResourceAdded Increments metric to count the number of cr added

func CustomResourceAddedButSkipped

func CustomResourceAddedButSkipped(kind string)

CustomResourceAddedButSkipped Increments metric to count the number of cr added and ignored

func CustomResourceDeleted

func CustomResourceDeleted(kind string)

CustomResourceDeleted Increments metric to count the number of cr deleted

func CustomResourceRemovedFromQueue

func CustomResourceRemovedFromQueue(kind string)

CustomResourceRemovedFromQueue Decrements metric to count the number of cr in queue

func CustomResourceUpdated

func CustomResourceUpdated(kind string)

CustomResourceUpdated Increments metric to count the number of cr updated

func CustomResourceUpdatedAndRequeued

func CustomResourceUpdatedAndRequeued(kind string)

CustomResourceUpdatedAndRequeued Increments metric to count the number of cr updated due to update to child

func CustomResourceUpdatedButSkipped

func CustomResourceUpdatedButSkipped(kind string)

CustomResourceUpdatedButSkipped Increments metric to count the number of cr updated and ignored

func DefaultBuckets

func DefaultBuckets() []float64

DefaultBuckets Holds the buckets used as default

func InitiateRadixJobStatusChanged

func InitiateRadixJobStatusChanged(rj *v1.RadixJob)

InitiateRadixJobStatusChanged initiate metric with value 0 to count the number of radix jobs processed.

func OperatorError

func OperatorError(kind, method, errorType string)

OperatorError Add error

func RadixJobStatusChanged

func RadixJobStatusChanged(rj *v1.RadixJob)

RadixJobStatusChanged increments metric to count the number of radix jobs processed

func RequestedResources added in v1.5.14

func RequestedResources(rr *v1.RadixRegistration, rd *v1.RadixDeployment)

RequestedResources adds metrics for requested resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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