File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
prometheus/prometheus.yml.d Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% if stackhpc_enable_os_capacity | bool %}
1
2
{% raw %}
2
3
frontend os_capacity_frontend
3
4
mode http
@@ -17,3 +18,4 @@ backend os_capacity_backend
17
18
server {{ host_name }} {{ host_ip }}:9000 check inter 2000 rise 2 fall 5
18
19
{% endfor %}
19
20
{% endraw %}
21
+ {% endif %}
Original file line number Diff line number Diff line change
1
+ # yamllint disable-file
2
+ ---
3
+ {% if stackhpc_enable_os_capacity | bool %}
1
4
{% raw %}
2
5
scrape_configs :
3
6
- job_name : os-capacity
@@ -7,3 +10,4 @@ scrape_configs:
7
10
scrape_interval : 15m
8
11
scrape_timeout : 10m
9
12
{% endraw %}
13
+ {% endif %}
Original file line number Diff line number Diff line change 9
9
alertmanager_low_memory_threshold_gib : 5
10
10
11
11
# ##############################################################################
12
+ # Exporter configuration
13
+
14
+ # Whether the OpenStack Capacity exporter is enabled.
15
+ # Enabling this flag will result in HAProxy configuration and Prometheus scrape
16
+ # targets being templated during deployment.
17
+ stackhpc_enable_os_capacity : false
You can’t perform that action at this time.
0 commit comments