![Piotr Parczewski](/assets/img/avatar_default.png)
It is now possible to deploy either 1.x or 2.x version of Prometheus. The new 2.x version introduces breaking changes in terms of storage format and command line options. Change-Id: I80cc6f1947f3740ef04b29839bfa655b14fae146 Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
18 lines
840 B
YAML
18 lines
840 B
YAML
---
|
|
features:
|
|
- |
|
|
Prometheus version 2.x deployment added. This version is enabled by
|
|
default and replaces a forward-incompatible version 1.x. A variable
|
|
``prometheus_use_v1`` can be set to ``yes`` to preserve version
|
|
1.x deployment with its data. Otherwise, Prometheus will start with
|
|
a new volume, ignoring all previously collected metrics.
|
|
upgrade:
|
|
- |
|
|
New Prometheus version ignores previously stored metrics. If you
|
|
want to keep using 1.x with the old data, set ``prometheus_use_v1``
|
|
variable to ``yes``. The old data is not removed, please read the
|
|
docs for details. Please also make sure you adapt changes in command
|
|
line options if they were ever customized in your environment because
|
|
Prometheus 2.x has different syntax (``--option`` with double dashes
|
|
instead of ``-option``).
|