cloudkitty: fix URL used for Prometheus collector
The Prometheus HTTP API is reachable under /api/v1. Without this fix, CloudKitty receives 404 errors from Prometheus. Change-Id: Ie872da5ccddbcb8028b8b57022e2427372ed474e
This commit is contained in:
parent
83fa907961
commit
b36c91b684
@ -166,7 +166,7 @@ cloudkitty_collector_backend: "gnocchi"
|
|||||||
cloudkitty_monasca_interface: "internal"
|
cloudkitty_monasca_interface: "internal"
|
||||||
|
|
||||||
# Set prometheus collector URL.
|
# Set prometheus collector URL.
|
||||||
cloudkitty_prometheus_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ prometheus_port }}"
|
cloudkitty_prometheus_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ prometheus_port }}/api/v1"
|
||||||
|
|
||||||
# Path of the CA certificate to trust for HTTPS connections.
|
# Path of the CA certificate to trust for HTTPS connections.
|
||||||
# cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
|
# cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes configuration of the Prometheus HTTP API URL when using the
|
||||||
|
Prometheus collector in CloudKitty.
|
||||||
|
`LP#1961615 <https://bugs.launchpad.net/kolla-ansible/+bug/1961615>`__
|
Loading…
Reference in New Issue
Block a user