| 1 |
--- |
| 2 |
upgrade: |
| 3 |
- | |
| 4 |
The reported units for the following metrics were changed from ``MB`` and |
| 5 |
``GB`` to ``MiB`` and ``GiB`` respectively, as the metrics are actually |
| 6 |
in **mebibytes**/**gibibytes**: |
| 7 |
|
| 8 |
* ``memory``/``memory.*`` |
| 9 |
* ``disk.root.size`` |
| 10 |
* ``disk.ephemeral.size`` |
| 11 |
* ``volume.size`` |
| 12 |
* ``volume.snapshot.size``/``snapshot.size`` |
| 13 |
* ``volume.backup.size``/``backup.size`` |
| 14 |
* ``volume.provider.capacity.*``/``volume.provider.pool.capacity.*`` |
| 15 |
* ``manila.share.size`` |
| 16 |
|
| 17 |
Following the upgrade, the storage backends Ceilometer publishes to will |
| 18 |
go through an intermediary period where metrics using both the old and |
| 19 |
new units will exist at the same time: |
| 20 |
|
| 21 |
* In Gnocchi, newly created metrics will set ``unit`` to the newer values. |
| 22 |
Existing metrics on existing resources, however, will not have their |
| 23 |
unit updated automatically. They will need to be changed manually, |
| 24 |
if required. |
| 25 |
* In Prometheus, the ``unit`` label will change for the above metrics, |
| 26 |
causing Prometheus to treat them as separate metrics (though with |
| 27 |
otherwise identical labels) for non-aggregated queries. These separate |
| 28 |
metrics will co-exist until the old metrics expire, but the overlap |
| 29 |
between the old and new metrics should be small unless your query |
| 30 |
window is wide. If you perform any PromQL queries overlapping the |
| 31 |
changeover period that **must** have a single metric per resource, |
| 32 |
you could use aggregations like ``max without (unit) (...)`` to |
| 33 |
take into account this change. |
| 34 |
|
| 35 |
Regarding the values of the metrics themselves, please note that the |
| 36 |
**actual values have not changed**, only the reported unit names. |
| 37 |
There is no action needed unless you are converting the metrics to |
| 38 |
other units (or referencing the reported units in some way), in which |
| 39 |
case we would recommend double checking that the values are being |
| 40 |
handled correctly. |