Skip to content

Commit 571f737

Browse files
committed
Adding warning about metrics volume when scraping pod annotations
1 parent 7fefe5d commit 571f737

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/azure-monitor/containers/prometheus-metrics-scrape-configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ pod-annotation-based-scraping: |-
8383
podannotationnamespaceregex = ".*"
8484
```
8585

86+
> [!WARNING]
87+
> Scraping the pod annotations from many namespaces can generate a very large volume of metrics depending on the number of pods that have annotations.
8688

8789
### Customize metrics collected by default targets
8890
By default, for all the default targets, only minimal metrics used in the default recording rules, alerts, and Grafana dashboards are ingested as described in [minimal-ingestion-profile](prometheus-metrics-scrape-configuration-minimal.md). To collect all metrics from default targets, update the keep-lists in the settings configmap under `default-targets-metrics-keep-list`, and set `minimalingestionprofile` to `false`.

0 commit comments

Comments
 (0)