git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/doc: added the Prometheus changes to the 19.09 release notes
commit29d7d8f44df24d6876c527d442eb42aee7227d6b authorBas van Dijk <v.dijk.bas@gmail.com> dateMon 8 Apr 2019, 19:39 (8 years ago) parenteed84d1
1 file changed+36−1
nixos/doc/manual/release-notes/rl-1909.xml+36−1
nixos/doc/manual/release-notes/rl-1909.xml+36−1
@@ -37,7 +37,42 @@
3737
3838 <itemizedlist>
3939 <listitem>
40− <para />
40+ <para>
41+ Besides the existing <option>services.prometheus</option> module which
42+ targets Prometheus-1 a new <option>services.prometheus2</option> module
43+ has been added which targets Prometheus-2.
44+ </para>
45+ <para>
46+ Both modules can be enabled at the same time. In fact
47+ <link xlink:href="https://prometheus.io/docs/prometheus/latest/migration/#storage">
48+ this is needed for upgrading existing Prometheus-1 data to Prometheus-2
49+ </link>.
50+ </para>
51+ </listitem>
52+ </itemizedlist>
53+ </section>
54+
55+ <section xmlns="http://docbook.org/ns/docbook"
56+ xmlns:xlink="http://www.w3.org/1999/xlink"
57+ xmlns:xi="http://www.w3.org/2001/XInclude"
58+ version="5.0"
59+ xml:id="sec-release-19.09-incompatibilities">
60+ <title>Backward Incompatibilities</title>
61+
62+ <para>
63+ When upgrading from a previous release, please be aware of the following
64+ incompatible changes:
65+ </para>
66+
67+ <itemizedlist>
68+ <listitem>
69+ <para>
70+ 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>.
75+ </para>
4176 </listitem>
4277 </itemizedlist>
4378 </section>