services.prometheus.scrapeConfigs.*.honor_timestamps

NixOS option

honor_timestamps controls whether Prometheus respects the timestamps present in scraped data. If honor_timestamps is set to true, the timestamps of the metrics exposed by the target will be used. If honor_timestamps is set to false, the timestamps of the metrics exposed by the target will be ignored. Defaults to true in prometheus when set to null.

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