services.prometheus.scrapeConfigs.*.body_size_limit

NixOS option

An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit. Example: 100MB. This is an experimental feature, this behaviour could change or be removed in the future. Defaults to 0 in prometheus when set to null.

type: null or string
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →