OS
OpenSpec HUB

MetricIdentifier

MetricIdentifier defines the name and optionally selector for a metric

Resource Structure

Interactive Tree
namestringRequired
name is the name of the given metric
selectorobject
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.
OpenSpec HUB
Source: autoscaling.api.k8s.io/MetricIdentifier_v2.json