Allow exposing OpenStack exporter via HAProxy
Signed-off-by: Franco Mariotti <fmariotti@whitestack.com> Change-Id: Ie151cd97d3e0ba3bfec9e95a5b8bdfef0b54806c
This commit is contained in:
parent
09adcf0181
commit
7219279215
@ -1133,6 +1133,7 @@ enable_prometheus_alertmanager: "{{ enable_prometheus | bool }}"
|
|||||||
enable_prometheus_alertmanager_external: "{{ enable_prometheus_alertmanager | bool }}"
|
enable_prometheus_alertmanager_external: "{{ enable_prometheus_alertmanager | bool }}"
|
||||||
enable_prometheus_ceph_mgr_exporter: "no"
|
enable_prometheus_ceph_mgr_exporter: "no"
|
||||||
enable_prometheus_openstack_exporter: "{{ enable_prometheus | bool }}"
|
enable_prometheus_openstack_exporter: "{{ enable_prometheus | bool }}"
|
||||||
|
enable_prometheus_openstack_exporter_external: "no"
|
||||||
enable_prometheus_elasticsearch_exporter: "{{ enable_prometheus | bool and enable_elasticsearch | bool }}"
|
enable_prometheus_elasticsearch_exporter: "{{ enable_prometheus | bool and enable_elasticsearch | bool }}"
|
||||||
enable_prometheus_blackbox_exporter: "{{ enable_prometheus | bool }}"
|
enable_prometheus_blackbox_exporter: "{{ enable_prometheus | bool }}"
|
||||||
enable_prometheus_rabbitmq_exporter: "{{ enable_prometheus | bool and enable_rabbitmq | bool }}"
|
enable_prometheus_rabbitmq_exporter: "{{ enable_prometheus | bool and enable_rabbitmq | bool }}"
|
||||||
|
@ -87,6 +87,11 @@ prometheus_services:
|
|||||||
mode: "http"
|
mode: "http"
|
||||||
external: false
|
external: false
|
||||||
port: "{{ prometheus_openstack_exporter_port }}"
|
port: "{{ prometheus_openstack_exporter_port }}"
|
||||||
|
prometheus_openstack_exporter_external:
|
||||||
|
enabled: "{{ enable_prometheus_openstack_exporter_external | bool }}"
|
||||||
|
mode: "http"
|
||||||
|
external: true
|
||||||
|
port: "{{ prometheus_openstack_exporter_port }}"
|
||||||
prometheus-elasticsearch-exporter:
|
prometheus-elasticsearch-exporter:
|
||||||
container_name: prometheus_elasticsearch_exporter
|
container_name: prometheus_elasticsearch_exporter
|
||||||
group: prometheus-elasticsearch-exporter
|
group: prometheus-elasticsearch-exporter
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds a new, disabled by default, option for Prometheus
|
||||||
|
OpenStack exporter, named
|
||||||
|
"enable_prometheus_openstack_exporter_external".
|
||||||
|
This option allows exposing OpenStack exporter through
|
||||||
|
HAProxy, and may be used to expose OpenStack metrics
|
||||||
|
to an existing Prometheus server outside the OpenStack
|
||||||
|
cloud, instead of using the default one provided by
|
||||||
|
OpenStack.
|
Loading…
Reference in New Issue
Block a user