This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
resolve_timeout: 1m | |
route: | |
receiver: 'gmail-notifications' | |
receivers: | |
- name: 'gmail-notifications' | |
email_configs: | |
- to: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
resolve_timeout: 1m | |
pagerduty_url: 'https://events.pagerduty.com/v2/enqueue' | |
route:x | |
receiver: 'pagerduty-notifications' | |
receivers: | |
- name: 'pagerduty-notifications' | |
pagerduty_configs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
resolve_timeout: 1m | |
slack_api_url: 'https://hooks.slack.com/services/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' | |
route: | |
receiver: 'slack-notifications' | |
receivers: | |
- name: 'slack-notifications' | |
slack_configs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
resolve_timeout: 1m | |
slack_api_url: 'https://hooks.slack.com/services/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' | |
route: | |
receiver: 'slack-notifications' | |
receivers: | |
- name: 'slack-notifications' | |
slack_configs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
# How frequently to scrape targets | |
scrape_interval: 10s | |
# How frequently to evaluate rules | |
evaluation_interval: 10s | |
# Rules and alerts are read from the specified file(s) | |
rule_files: | |
- rules.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
- name: AllInstances | |
rules: | |
- alert: InstanceDown | |
# Condition for alerting | |
expr: up == 0 | |
for: 1m | |
# Annotation - additional informational labels to store more information | |
annotations: | |
title: 'Instance {{ $labels.instance }} down' |
NewerOlder