
Adds the ability to configure the Prometheus Pushgateway options alongside the rest of kolla-ansible's configurations. Closes-Bug: #1968597 Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com> Change-Id: I2d20288267ceda95076229628db10299ddbde31f
17 lines
648 B
Django/Jinja
17 lines
648 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{% if ceilometer_prometheus_pushgateway_options %}/?{{ (ceilometer_prometheus_pushgateway_options|dict2items|rejectattr("value", "equalto", None)|list|items2dict).items() | map("join", "=") | join("&")}}{% endif %}
|
|
{% endif %}
|