Merge "Support Prometheus as metrics database for Ceilometer"
This commit is contained in:
commit
ce0a7a5070
@ -607,6 +607,7 @@ enable_barbican: "no"
|
|||||||
enable_blazar: "no"
|
enable_blazar: "no"
|
||||||
enable_ceilometer: "no"
|
enable_ceilometer: "no"
|
||||||
enable_ceilometer_ipmi: "no"
|
enable_ceilometer_ipmi: "no"
|
||||||
|
enable_ceilometer_prometheus_pushgateway: "no"
|
||||||
enable_cells: "no"
|
enable_cells: "no"
|
||||||
enable_central_logging: "no"
|
enable_central_logging: "no"
|
||||||
enable_ceph_rgw: "no"
|
enable_ceph_rgw: "no"
|
||||||
|
@ -184,6 +184,12 @@ ceilometer_ks_users:
|
|||||||
# Backend
|
# Backend
|
||||||
####################
|
####################
|
||||||
|
|
||||||
ceilometer_database_type: "gnocchi"
|
ceilometer_database_type: "{{ 'gnocchi' if (enable_gnocchi | bool) else '' }}"
|
||||||
|
|
||||||
ceilometer_upgrade_params: ""
|
ceilometer_upgrade_params: ""
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Pushgateway
|
||||||
|
####################
|
||||||
|
ceilometer_prometheus_pushgateway_host: "127.0.0.1"
|
||||||
|
ceilometer_prometheus_pushgateway_port: "9091"
|
||||||
|
@ -12,4 +12,4 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- enable_ceilometer | bool
|
- enable_ceilometer | bool
|
||||||
- not enable_gnocchi | bool
|
- not (enable_gnocchi | bool or enable_ceilometer_prometheus_pushgateway | bool)
|
||||||
|
@ -8,4 +8,9 @@ sources:
|
|||||||
sinks:
|
sinks:
|
||||||
- name: meter_sink
|
- name: meter_sink
|
||||||
publishers:
|
publishers:
|
||||||
|
{% if enable_gnocchi | bool %}
|
||||||
- gnocchi://
|
- gnocchi://
|
||||||
|
{% endif %}
|
||||||
|
{% if enable_ceilometer_prometheus_pushgateway | bool %}
|
||||||
|
- prometheus://{{ ceilometer_prometheus_pushgateway_host }}:{{ ceilometer_prometheus_pushgateway_port }}/metrics/job/openstack-telemetry
|
||||||
|
{% endif %}
|
||||||
|
8
releasenotes/notes/bug-1964135-383c8bf4fad16618.yaml
Normal file
8
releasenotes/notes/bug-1964135-383c8bf4fad16618.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds the ability to use Prometheus as the metrics database for Ceilometer.
|
||||||
|
|
||||||
|
Adapts Ceilometer configurations so metrics can be pushed to a Prometheus
|
||||||
|
Pushgateway.
|
||||||
|
`LP#1964135 <https://bugs.launchpad.net/kolla-ansible/+bug/1964135>`__
|
Loading…
Reference in New Issue
Block a user