Documentation ¶
Overview ¶
Package quality (aka metrics_quality) - code for VPA quality metrics
Index ¶
- func ObserveQualityMetrics(usage, recommendation float64, isOOM bool, resource corev1.ResourceName, ...)
- func ObserveQualityMetricsRecommendationMissing(usage float64, isOOM bool, resource corev1.ResourceName, ...)
- func ObserveRecommendationChange(previous, current corev1.ResourceList, updateMode *vpa_types.UpdateMode, ...)
- func Register()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObserveQualityMetrics ¶
func ObserveQualityMetrics(usage, recommendation float64, isOOM bool, resource corev1.ResourceName, updateMode *vpa_types.UpdateMode)
ObserveQualityMetrics records all quality metrics that we can derive from recommendation and usage.
func ObserveQualityMetricsRecommendationMissing ¶
func ObserveQualityMetricsRecommendationMissing(usage float64, isOOM bool, resource corev1.ResourceName, updateMode *vpa_types.UpdateMode)
ObserveQualityMetricsRecommendationMissing records all quality metrics that we can derive from usage when recommendation is missing.
func ObserveRecommendationChange ¶
func ObserveRecommendationChange(previous, current corev1.ResourceList, updateMode *vpa_types.UpdateMode, vpaSize int)
ObserveRecommendationChange records relative_recommendation_changes metric.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.