services.prometheus.scrapeConfigs.*.label_limit

Per-scrape limit on number of labels that will be accepted for a sample. If more than this number of labels are present post metric-relabeling, the entire scrape will be treated as failed. 0 means no limit.

Defaults to 0 in prometheus when set to null.

Type
null or signed integer
Default
null
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>