# Functions
Add creates a new metrics Calculator and adds it to the Manager.
GetClusterDeploymentType returns the value of the hive.openshift.io/cluster-type label if set, otherwise a default value.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
MetricClusterDeploymentDeprovisioningUnderwaySeconds is a prometheus metric for the number of seconds between when a still deprovisioning cluster was created and now.
# Structs
Calculator runs in a goroutine and periodically calculates and publishes Prometheus metrics which will be exposed at our /metrics endpoint.
ReconcileObserver is used to track, log, and report metrics for controller reconcile time and outcome.
# Type aliases
ReconcileOutcome is used in controller "reconcile complete" log entries, and the metricControllerReconcileTime above for controllers where we would like to monitor performance for different types of Reconcile outcomes.