6cf03122ee
This commit adds support for pushing Ceilometer metrics to Prometheus instead of Gnocchi or alongside it. Closes-Bug: #1964135 Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com> Change-Id: I9fd32f63913a534c59e2d17703702074eea5dd76
17 lines
434 B
Django/Jinja
17 lines
434 B
Django/Jinja
---
|
|
sources:
|
|
- name: meter_source
|
|
meters:
|
|
- "*"
|
|
sinks:
|
|
- meter_sink
|
|
sinks:
|
|
- name: meter_sink
|
|
publishers:
|
|
{% if enable_gnocchi | bool %}
|
|
- gnocchi://
|
|
{% endif %}
|
|
{% if enable_ceilometer_prometheus_pushgateway | bool %}
|
|
- prometheus://{{ ceilometer_prometheus_pushgateway_host }}:{{ ceilometer_prometheus_pushgateway_port }}/metrics/job/openstack-telemetry
|
|
{% endif %}
|