From b423b73adc8cb0d8ea815ad46de20fdb6fc266b5 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Tue, 9 Apr 2019 10:00:05 +0200 Subject: [PATCH] nixos/doc: add Prometheus stateDir handling to rl-1909.xml --- nixos/doc/manual/release-notes/rl-1909.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml index 40203904f47..7fa322bb462 100644 --- a/nixos/doc/manual/release-notes/rl-1909.xml +++ b/nixos/doc/manual/release-notes/rl-1909.xml @@ -66,12 +66,22 @@ + + The directory where Prometheus will store its metric data is now + managed by systemd's StateDirectory mechanism. It still defaults + to /var/lib/prometheus. + + + Its location can be specified by the new + option which + defaults to prometheus. Note that this should + be a directory relative to /var/lib/. + The option has been - removed. The directory where Prometheus will store its metric data will - now always be set to /var/lib/prometheus and to - /var/lib/prometheus2 when using - . + deprecated. You can still set it but it's now required to have + /var/lib/ as a prefix and you can't set + at the same time.