MyNixOS website logo
option

services.prometheus.pushgateway.stateDir

Directory below /var/lib to store metrics.

This directory will be created automatically using systemd's StateDirectory mechanism when services.prometheus.pushgateway.persistMetrics is enabled.

Declarations
Type
string
Default
"pushgateway"