klen / klen/graphite-beacon

[Feature Request] Add ability to specify alert handlers per alert.

Open
#86 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
450
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Please allow users to add handlers per alert on top of global configuration:

This could use exactly the same parameters but within alert definition:

```
alerts: [
{

"critical_handlers": ["log", "smtp"],
"warning_handlers": ["log", "smtp"],
"normal_handlers": ["log", "smtp"],

}
]
```

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the global alert-handler configuration and the code that parses alert definitions; determine how handler precedence should work when handlers are specified per alert. Done means alert definitions can specify critical, warning, and normal handlers independently while existing global configuration continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.