@@ -8,7 +8,9 @@ Configuring in kayobe-config
88By default, CloudKitty uses Gnocchi and Ceilometer as the collector and fetcher
99backends. Unless the system has a specific reason not to, we recommend instead
1010using Prometheus as the backend for both. The following instructions explain
11- how to do this.
11+ how to do this. Also, see the `Kolla Ansible docs on CloudKitty
12+ <https://docs.openstack.org/kolla-ansible/latest/reference/rating/cloudkitty-guide.html> `__
13+ for more details.
1214
1315Enable CloudKitty and disable InfluxDB, as we are using OpenSearch as the
1416storage backend. Set the following in ``kolla.yml ``:
@@ -34,15 +36,14 @@ following in ``kolla/globals.yml``:
3436 cloudkitty_storage_backend : elasticsearch
3537
3638 If you have TLS enabled, you will also need to set the cafile for Prometheus
37- and Elasticsearch. Set the following in ``kolla/globals.yml ``, and make sure
38- that ``openstack_cacert `` is appropriately set as a Kayobe variable too. It
39- defaults to ``openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}" ``, but you
40- may prefer to set the path explicitly.
39+ and Elasticsearch. Set the following in ``kolla/globals.yml ``.
4140
4241.. code-block :: yaml
4342
43+ {% raw %}
4444 cloudkitty_prometheus_cafile : " {{ openstack_cacert }}"
4545 cloudkitty_elasticsearch_cafile : " {{ openstack_cacert }}"
46+ {% endraw %}
4647
4748 The default collection period is one hour, which is likely too long for most
4849systems as CloudKitty charges by the **entire ** collection period if any usage
0 commit comments