Skip to content

Commit

Permalink
fix(infra): modify prometheus config file to specify alert rules and …
Browse files Browse the repository at this point in the history
…alertmanager (#55)
  • Loading branch information
ssupecial authored May 29, 2024
1 parent ef340c6 commit d0e26de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/prometheus/prometheus-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ global:
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).


rule_files:
- 'rules/*.yml'


alerting:
alertmanagers:
- static_configs:
- targets:
- "alertmanager:9093"
# scrape_configs:
# - job_name: 'grafana-agent'
# scrape_interval: 10s
Expand Down

0 comments on commit d0e26de

Please sign in to comment.