Class PodsMetricStatus


  • public final class PodsMetricStatus
    extends java.lang.Object
    • Method Detail

      • currentAverageValue

        public java.lang.String currentAverageValue()
        Returns:
        currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
      • metricName

        public java.lang.String metricName()
        Returns:
        metricName is the name of the metric in question
      • selector

        public java.util.Optional<LabelSelector> selector()
        Returns:
        selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.