Skip to content

Commit 1960dbd

Browse files
authored
add path for sg_config_prometheus rules (#890)
1 parent a48f8dc commit 1960dbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prometheus/prometheus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ alerting:
1515

1616
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
1717
rule_files:
18-
- '*_rules.yml'
18+
- '/sg_config_prometheus/*_rules.yml'
1919
- '/sg_prometheus_add_ons/*_rules.yml'
2020

2121
# Configure targets to scrape
@@ -32,4 +32,4 @@ scrape_configs:
3232
- job_name: 'sg'
3333
file_sd_configs:
3434
- files:
35-
- '/sg_prometheus_add_ons/*_targets.yml'
35+
- '/sg_prometheus_add_ons/*_targets.yml'

0 commit comments

Comments
 (0)