git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/doc: add Prometheus stateDir handling to rl-1909.xml
commitb423b73adc8cb0d8ea815ad46de20fdb6fc266b5 authorBas van Dijk <v.dijk.bas@gmail.com> dateTue 9 Apr 2019, 10:00 (8 years ago) parentc95179b
1 file changed+14−4
nixos/doc/manual/release-notes/rl-1909.xml+14−4
nixos/doc/manual/release-notes/rl-1909.xml+14−4
@@ -66,12 +66,22 @@
6666
6767 <itemizedlist>
6868 <listitem>
69+ <para>
70+ The directory where Prometheus will store its metric data is now
71+ managed by systemd's StateDirectory mechanism. It still defaults
72+ to <literal>/var/lib/prometheus</literal>.
73+ </para>
74+ <para>
75+ Its location can be specified by the new
76+ <option>services.prometheus.stateDir</option> option which
77+ defaults to <literal>prometheus</literal>. Note that this should
78+ be a directory relative to <literal>/var/lib/</literal>.
79+ </para>
6980 <para>
7081 The option <option>services.prometheus.dataDir</option> has been
71− removed. The directory where Prometheus will store its metric data will
72− now always be set to <literal>/var/lib/prometheus</literal> and to
73− <literal>/var/lib/prometheus2</literal> when using
74− <option>services.prometheus2</option>.
82+ deprecated. You can still set it but it's now required to have
83+ <literal>/var/lib/</literal> as a prefix and you can't set
84+ <option>services.prometheus.stateDir</option> at the same time.
7585 </para>
7686 </listitem>
7787 </itemizedlist>