@@ -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