MetricIdentifierArgs

data class MetricIdentifierArgs(val name: Output<String>, val selector: Output<LabelSelectorArgs>? = null) : ConvertibleToJava<MetricIdentifierArgs>

MetricIdentifier defines the name and optionally selector for a metric

Constructors

Link copied to clipboard
constructor(name: Output<String>, selector: Output<LabelSelectorArgs>? = null)

Properties

Link copied to clipboard
val name: Output<String>

name is the name of the given metric

Link copied to clipboard
val selector: Output<LabelSelectorArgs>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): MetricIdentifierArgs