Skip to content

Commit 66ac57c

Browse files
committed
fix calculated prometheus metrics
1 parent b4f72fd commit 66ac57c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

group_vars/prometheus.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ openondemand_address: "{{ hostvars[groups['openondemand'].0].api_address if 'ope
66
# Override group_var set in ansible-slurm-appliance all group - unless
77
# OOD is being deployed then there won't be an OOD group
88
prometheus_scrape_configs: "{{ prometheus_scrape_configs_default + (openondemand_scrape_configs if ( 'openondemand' in groups ) else [] ) }}"
9+
10+
# Modify to account for the fact we are running outside of the expected environment system
11+
prometheus_alert_rules_files:
12+
- "{{ playbook_dir }}/../environments/common/files/prometheus/rules/*.rules"

0 commit comments

Comments
 (0)