Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeletionDurationMetricName = "hypershift_cluster_deletion_duration_seconds" HostedClusterDeletionDuration = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Time in seconds it took from HostedCluster having a deletion timestamp to all hypershift finalizers being removed", Name: DeletionDurationMetricName, }, []string{"namespace", "name", "_id"}) GuestCloudResourcesDeletionDurationMetricName = "hypershift_cluster_guest_cloud_resources_deletion_duration_seconds" HostedClusterGuestCloudResourcesDeletionDuration = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Time in seconds it took from HostedCluster having a deletion timestamp to the CloudResourcesDestroyed being true", Name: GuestCloudResourcesDeletionDurationMetricName, }, []string{"namespace", "name", "_id"}) AvailableDurationName = "hypershift_cluster_available_duration_seconds" HostedClusterAvailableDuration = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Time in seconds it took from initial cluster creation to HostedClusterAvailable condition becoming true", Name: AvailableDurationName, }, []string{"namespace", "name", "_id"}) InitialRolloutDurationName = "hypershift_cluster_initial_rollout_duration_seconds" HostedClusterInitialRolloutDuration = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Time in seconds it took from initial cluster creation and rollout of initial version", Name: InitialRolloutDurationName, }, []string{"namespace", "name", "_id"}) ClusterUpgradeDurationMetricName = "hypershift_cluster_upgrade_duration_seconds" ClusterUpgradeDuration = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Time in seconds it took a cluster to upgrade and rollout a given version", Name: ClusterUpgradeDurationMetricName, }, []string{"namespace", "name", "_id", "previous_version", "new_version"}) LimitedSupportEnabledName = "hypershift_cluster_limited_support_enabled" LimitedSupportEnabled = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Indicates if limited support is enabled for each cluster", Name: LimitedSupportEnabledName, }, []string{"namespace", "name", "_id"}) SilenceAlertsName = "hypershift_cluster_silence_alerts" SilenceAlerts = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Indicates if alerts are silenced for each cluster", Name: SilenceAlertsName, }, []string{"namespace", "name", "_id"}) ProxyName = "hypershift_cluster_proxy" ProxyConfig = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Indicates cluster proxy state for each cluster", Name: ProxyName, }, []string{"namespace", "name", "_id", "proxy_http", "proxy_https", "proxy_trusted_ca"}) SkippedCloudResourcesDeletionName = "hypershift_cluster_skipped_cloud_resources_deletion" SkippedCloudResourcesDeletion = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Help: "Indicates the operator will skip the aws resources deletion", Name: SkippedCloudResourcesDeletionName, }, []string{"namespace", "name", "_id"}) )
Functions ¶
func ReportClusterUpgradeDuration ¶ added in v0.1.9
func ReportClusterUpgradeDuration(hc *hyperv1.HostedCluster)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.