Skip to content

Commit

Permalink
Don't use non-existent webhook as a placeholder (#238)
Browse files Browse the repository at this point in the history
The fake webhook fires the AlertmanagerNotificationsFailed alert
continuously out of the box. Instead, use a blackhole receiver without
any backend as a placeholder when no receiver is provided by an
operator.

Fixes: #237
  • Loading branch information
nobuto-m authored Mar 29, 2024
1 parent 37622c3 commit daabdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ConfigError(Exception):
"repeat_interval": "1h",
"receiver": "placeholder",
},
"receivers": [{"name": "placeholder", "webhook_configs": [{"url": "http://127.0.0.1:5001/"}]}],
"receivers": [{"name": "placeholder"}],
}


Expand Down

0 comments on commit daabdd3

Please sign in to comment.