Share via


ManagedClusterAzureMonitorProfileKubeStateMetrics.MetricLabelsAllowlist Property

Definition

Gets or sets comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.

[Newtonsoft.Json.JsonProperty(PropertyName="metricLabelsAllowlist")]
public string MetricLabelsAllowlist { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="metricLabelsAllowlist")>]
member this.MetricLabelsAllowlist : string with get, set
Public Property MetricLabelsAllowlist As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to