-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds escalation step to notify a team #3477
Conversation
d3df5fb
to
85558b6
Compare
85558b6
to
6bdfa58
Compare
6bdfa58
to
dfb396c
Compare
Thank you for the contribution! Great work! |
Thanks @iskhakov I've updated the code to mostly be There's currently a test failing |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
I think this PR is still valid however I'm not going to put effort into fixing up conflicts if there's no intention to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks (again) for the contribution, I like the idea. Leaving a few comments I think we need to address before merging the changes. Happy to keep reviewing/discussing updates 👍
engine/apps/alerts/escalation_snapshot/snapshot_classes/escalation_policy_snapshot.py
Show resolved
Hide resolved
Thanks for the detailed comments, will have a look in the coming days :) |
2d222d3
to
67e3294
Compare
Thanks @matiasb, I've rebased to latest dev, added some tests and I believe fixed the issues above. I've also tested locally to make sure everything still works and it seems to. Let me know if there are any other changes that need looking at. |
Thanks for the updates, I will be taking a look before the end of the week 👍 |
Hi @xssfox! I hope you don't mind but it seems I'm not able to push updates to this PR, so forked it here to implement some additional refactoring and changes. Happy to share any details on the updates, let me know if that looks ok to you. Will get someone else to do a final review, but I think it should be ready to merge with that. Thanks for your contribution, and your patience 👍 |
@matiasb Looks good, thanks! |
Based on #3477 --------- Co-authored-by: xssfox <xss@sprocketfox.io>
What this PR does
Adds a "Notify Team" escalation step which will notify all users in the assigned grafana team.
Which issue(s) this PR fixes
Fixes #3407
Checklist
pr:no public docs
PR label added if not required)CHANGELOG.md
updated (orpr:no changelog
PR label added if not required)