opensearch-project / opensearch-project/alerting
Stop sending notification to one destination
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 82
- Forks
- 133
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 9
Description
Issue by ylwu-amzn
Friday Apr 12, 2019 at 19:25 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/alerting/issues/30
Use case:
We are sending alert notification to multiple destinations. For some reason, we don't want to send notification to one destination any more.
I see the destination can be deleted on "Destinations" page. But if the destination is in usage, it can't be deleted and will pop up such warning "Couldn't delete destination dest1. One or more monitors uses this destination." As the message doesn't show which monitor is using the destination, I have to go through all of the triggers and delete the actions which are using the destination (currently, one action can only send notification to one destination, maybe we can enhance it to support multiple destinations in one action?).
Suggestions:
1.Show which monitor/trigger/action are using the destination
2.Just suspend one destination if the delete action is too heavy.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Destinations page and how monitors, triggers, and actions reference destinations. Resolve whether the intended outcome is usage visibility or suspending a destination, then verify that the selected behavior lets users stop notifications without deleting an in-use destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100