nixos/doc: add Prometheus stateDir handling to rl-1909.xml
This commit is contained in:
parent
c95179b52f
commit
b423b73adc
@ -66,12 +66,22 @@
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The directory where Prometheus will store its metric data is now
|
||||||
|
managed by systemd's StateDirectory mechanism. It still defaults
|
||||||
|
to <literal>/var/lib/prometheus</literal>.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Its location can be specified by the new
|
||||||
|
<option>services.prometheus.stateDir</option> option which
|
||||||
|
defaults to <literal>prometheus</literal>. Note that this should
|
||||||
|
be a directory relative to <literal>/var/lib/</literal>.
|
||||||
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The option <option>services.prometheus.dataDir</option> has been
|
The option <option>services.prometheus.dataDir</option> has been
|
||||||
removed. The directory where Prometheus will store its metric data will
|
deprecated. You can still set it but it's now required to have
|
||||||
now always be set to <literal>/var/lib/prometheus</literal> and to
|
<literal>/var/lib/</literal> as a prefix and you can't set
|
||||||
<literal>/var/lib/prometheus2</literal> when using
|
<option>services.prometheus.stateDir</option> at the same time.
|
||||||
<option>services.prometheus2</option>.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user