You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Enable control plane metrics with custom configurations
83
+
## Enable control plane metrics with custom configuration
84
84
85
85
After you enable the extension, you can view Prometheus Metrics from [targets scraped by default](/azure/azure-monitor/containers/prometheus-metrics-scrape-default#targets-scraped-by-default) in the Azure Monitor workspace. The [default ON targets](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration-minimal#minimal-ingestion-for-default-on-targets) include kubelet, kube-state-metrics, node-exporter, etc. To get started with kubelet metrics, use the PromQL below:
To view control plane metrics such as APIServer, ETCD, you need to customize the scraping of Prometheus metrics by applying the config maps to your cluster. The metrics pods pick up the config maps and pods restart in 2-3 minutes. Follow these steps to enable.
93
+
To view control plane metrics such as APIServer and ETCD, you can customize the scraping of Prometheus metrics by applying the config maps to your cluster. The metrics pods pick up the config maps and pods restart in 2-3 minutes. Follow these steps to enable.
94
94
95
95
### Step 1: connect to Kubernetes
96
96
@@ -107,7 +107,7 @@ Managed Prometheus uses an [agent-based solution](https://github.com/Azure/prome
107
107
108
108
### Step 3: apply custom configuration files
109
109
110
-
Run the following commands to apply the changes, then wait for several minutes for the metrics pods to restart.
110
+
Run the following commands to apply the changes, then wait several minutes for the metrics pods to restart.
0 commit comments