services.prometheus.scrapeConfigs.*.sample_limit
NixOS option
Per-scrape limit on number of scraped samples that will be accepted. If more than this number of samples are present after metric relabelling 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 integerDefault
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →null