# Functions

GetWebhookRequestCount gets the request count for the given webhook type and target object.
GetWebhookRequestPanicCountWith gets the request panic count for the given webhook type and target object.
GetWebhookRequestPassCount gets the request pass count for the given webhook type and target object.
GetWebhookRequestRejectCount gets the request reject count for the given webhook type and target object.
IncControllerReconcileCount increases reconcile count of the given object by 1.
IncControllerReconcilePanicCount increases reconcile panic count of the given object by 1.
IncControllerReconcileRequeueCount increases reconcile requeue count of the given object by 1.
IncControllerReconcileRequeueErrorCount increases reconcile error count of the given object by 1.
IncWebhookRequestCount increases the request count for the given webhook type and target object by 1.
IncWebhookRequestPanicCount increases the request panic count for the given webhook type and target object by 1.
IncWebhookRequestPassCount increases the request pass count for the given webhook type and target object by 1.
IncWebhookRequestRejectCount increases the request reject count for the given webhook type and target object by 1.
InitMetrics registers custom metrics with the global prometheus registry.
NewControllerMetricsRecorder returns a new ControllerMetricsRecorder.
NewMutatingWebhookMetricsRecorder creates a new metrics recorder for the mutating webhook.
NewValidatingWebhookMetricsRecorder creates a new webhook recorder for validating webhook.
ResetMetrics resets all metrics.
UpdateControllerReconcileDuration updates reconcile duration histogram with the give time for the given object and webhook.
UpdateControllerReconcileRequeueAfter updates reconcile requeue after histogram with the give time for the given object.

# Variables

ReceivingMetricsFromOperator is used to test if metric collection works.