Configure CloudKitty with Prometheus basic auth
Closes-Bug: #2044226 Change-Id: I5e17152584b758c9ca4f1cc14520337f979584b7
This commit is contained in:
parent
151f510a6c
commit
4131eb458d
@ -69,6 +69,8 @@ region_name = {{ openstack_region_name }}
|
||||
{% if cloudkitty_collector_backend == "prometheus" %}
|
||||
[collector_prometheus]
|
||||
prometheus_url = {{ cloudkitty_prometheus_url }}
|
||||
prometheus_user = admin
|
||||
prometheus_password = {{ prometheus_password }}
|
||||
|
||||
{% if cloudkitty_prometheus_cafile is defined %}
|
||||
cafile = {{ cloudkitty_prometheus_cafile }}
|
||||
@ -93,6 +95,8 @@ region_name = {{ openstack_region_name }}
|
||||
metric = openstack_identity_project_info
|
||||
scope_attribute = id
|
||||
prometheus_url = {{ cloudkitty_prometheus_url }}
|
||||
prometheus_user = admin
|
||||
prometheus_password = {{ prometheus_password }}
|
||||
|
||||
{% if cloudkitty_prometheus_cafile is defined %}
|
||||
cafile = {{ cloudkitty_prometheus_cafile }}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes CloudKitty failing to query Prometheus now that basic authentication
|
||||
is required.
|
Loading…
Reference in New Issue
Block a user