metrics

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDurrationOfReconciliation

func AddDurrationOfReconciliation(kind string, duration time.Duration)

AddDurrationOfReconciliation 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 OperatorError

func OperatorError(kind, method, errorType string)

OperatorError Add error

Types

This section is empty.

Jump to

Keyboard shortcuts

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