Skip to content

Commit 68052b2

Browse files
committed
Update collection period explanation
1 parent 0ec6d22 commit 68052b2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/source/configuration/cloudkitty.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ may prefer to set the path explicitly.
4242
cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
4343
cloudkitty_elasticsearch_cafile: "{{ openstack_cacert }}"
4444
45-
The default collection period is one hour, which is likely too long for your
46-
system. CloudKitty will charge for the entire period if any usage is seen
47-
within this timeframe. This means that even just one minute will be counted as
48-
an hour's usage. It is recommended to change this to a lower number, such as
49-
ten minutes. When using Prometheus as the collector, you need to change the
50-
scope_key to match the metrics provided by the Prometheus OpenStack Exporter.
51-
Set the following in ``kolla/config/cloudkitty.conf``:
45+
The default collection period is one hour, which is likely too long for most
46+
systems as CloudKitty charges by the **entire** collection period if any usage
47+
is seen within this timeframe. This is regardless of actual usage, meaning that
48+
even one minute will be charged as a full hour's usage. As a result, it is
49+
recommended to adjust the collection interval, ``period`` (in units of
50+
seconds), appropriately (e.g. ten minutes). Furthermore, when using Prometheus
51+
as the collector, you need to change the ``scope_key`` to match the metrics
52+
provided by the Prometheus OpenStack Exporter. Both of these can be achieved by
53+
setting the following in ``kolla/config/cloudkitty.conf``:
5254

5355
.. code-block:: console
5456

0 commit comments

Comments
 (0)