MetricIdentifierPatch

data class MetricIdentifierPatch(val name: String? = null, val selector: LabelSelectorPatch? = null)

MetricIdentifier defines the name and optionally selector for a metric

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

name is the name of the given metric

Link copied to clipboard

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, 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.