services.prometheus.scrapeConfigs.*.label_value_length_limit

NixOS option

Per-scrape limit on length of labels value that will be accepted for a sample. If a label value is longer than this number 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 in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →