PodsMetricStatusPatch

data class PodsMetricStatusPatch(val currentAverageValue: String? = null, val metricName: String? = null, val selector: LabelSelectorPatch? = null)

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

Constructors

Link copied to clipboard
constructor(currentAverageValue: String? = null, metricName: String? = null, selector: LabelSelectorPatch? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)

Link copied to clipboard
val metricName: String? = null

metricName is the name of the metric in question

Link copied to clipboard

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.