MyNixOS website logo
option

services.prometheus.stateDir

Directory below /var/lib to store Prometheus metrics data. This directory will be created automatically using systemd's StateDirectory mechanism.

Declarations
Type
string
Default
"prometheus2"