Partager via


ManagedClusterAzureMonitorProfileMetrics Class

Definition

Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.

public class ManagedClusterAzureMonitorProfileMetrics
type ManagedClusterAzureMonitorProfileMetrics = class
Public Class ManagedClusterAzureMonitorProfileMetrics
Inheritance
ManagedClusterAzureMonitorProfileMetrics

Constructors

ManagedClusterAzureMonitorProfileMetrics()

Initializes a new instance of the ManagedClusterAzureMonitorProfileMetrics class.

ManagedClusterAzureMonitorProfileMetrics(Boolean, ManagedClusterAzureMonitorProfileKubeStateMetrics)

Initializes a new instance of the ManagedClusterAzureMonitorProfileMetrics class.

Properties

Enabled

Gets or sets whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.

KubeStateMetrics

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to