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 %}
12{% raw %}
23frontend os_capacity_frontend
34 mode http
@@ -17,3 +18,4 @@ backend os_capacity_backend
1718 server {{ host_name }} {{ host_ip }}:9000 check inter 2000 rise 2 fall 5
1819{% endfor %}
1920{% 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 %}
14{% raw %}
25scrape_configs :
36 - job_name : os-capacity
@@ -7,3 +10,4 @@ scrape_configs:
710 scrape_interval : 15m
811 scrape_timeout : 10m
912{% endraw %}
13+ {% endif %}
Original file line number Diff line number Diff line change 99alertmanager_low_memory_threshold_gib : 5
1010
1111# ##############################################################################
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