Share via


ManagedClusterAzureMonitorProfileKubeStateMetrics Class

Definition

Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.

public class ManagedClusterAzureMonitorProfileKubeStateMetrics
type ManagedClusterAzureMonitorProfileKubeStateMetrics = class
Public Class ManagedClusterAzureMonitorProfileKubeStateMetrics
Inheritance
ManagedClusterAzureMonitorProfileKubeStateMetrics

Constructors

ManagedClusterAzureMonitorProfileKubeStateMetrics()

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

ManagedClusterAzureMonitorProfileKubeStateMetrics(String, String)

Initializes a new instance of the ManagedClusterAzureMonitorProfileKubeStateMetrics class.

Properties

MetricAnnotationsAllowList

Gets or sets comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.

MetricLabelsAllowlist

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.

Applies to