services.prometheus.stateDir
Directory below /var/lib to store Prometheus metrics data.
This directory will be created automatically using systemd's StateDirectory mechanism.
- Type
string- Default
"prometheus2"- Declared
- <nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>