-
-
Notifications
You must be signed in to change notification settings - Fork 630
feat(alerting): Add RESULT_CONDITIONS in custom alert to have more information #1086
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
Conversation
e9223fd to
e7597a1
Compare
|
Rebased patch after: fix(alerting): Escape custom result errors |
869fdf9 to
2ddec80
Compare
1a1426e to
08eb98e
Compare
1e3abec to
a1a6a1b
Compare
7d9acd2 to
2dffcf0
Compare
2dffcf0 to
da56af1
Compare
|
It would be nice to have this on Gatus! For us it is useful to integrate it with our alert system. @TwiN Could you take a look at it? |
d12c941 to
7d13b47
Compare
|
@TwiN any comments after the changes ? |
7d13b47 to
b96dbb1
Compare
b96dbb1 to
3225f58
Compare
|
I'm working on a very large change that touches nearly half of the files, that's why I haven't looked at this yet FYI |
Since 5.24.0 is released now, can we revisit this? |
de3e119 to
6cd3393
Compare
6cd3393 to
67b591b
Compare
Don’t forget this !! 😉 |
|
@aalmenar Thank you for the reminder! |
|
Can you test your change? I see you checked that you tested the change, but I'm not seeing any tests 🧐 |
Sure, i will add some tests to the changes. But i have it on at least 4 instances working correctly. I will add the tests no matter what. |
|
Thank you! The main reason I want tests is in part to make sure it works, but also to make sure future changes don't break the new feature. I'll have another look once you pushed the tests, thank you for your patience! |
…formation on an alert while using custom alerting module Add testing of new feature
488e5da to
60e75f8
Compare
|
Hi @TwiN, i have added a test for this feature, and squashed the commits into 1. Hope its ok for finally merging it.
|
|
Thank you for the contribution! |
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/twin/gatus](https://github.com/TwiN/gatus) | minor | `v5.25.2` -> `v5.26.0` | --- ### Release Notes <details> <summary>TwiN/gatus (ghcr.io/twin/gatus)</summary> ### [`v5.26.0`](https://github.com/TwiN/gatus/releases/tag/v5.26.0) [Compare Source](TwiN/gatus@v5.25.2...v5.26.0) #### What's Changed - feat(alerting): Add support for n8n alerts by [@​TwiN](https://github.com/TwiN) in [#​1309](TwiN/gatus#1309) - feat(client): Support body placeholder for SSH endpoints by [@​yansh97](https://github.com/yansh97) in [#​1286](TwiN/gatus#1286) - feat(alerting): Add RESULT\_CONDITIONS in custom alert to have more information by [@​aalmenar](https://github.com/aalmenar) in [#​1086](TwiN/gatus#1086) - fix(alerting): Implement deduplication key generation for incidentio alerts by [@​NerdySoftPaw](https://github.com/NerdySoftPaw) in [#​1296](TwiN/gatus#1296) - fix(ui): Swap oldest/newest result time for SuiteCard.vue by [@​TwiN](https://github.com/TwiN) in [#​1308](TwiN/gatus#1308) - fix(alerting): Format link from Telegram alert description when sending message by [@​andriyor](https://github.com/andriyor) in [#​1200](TwiN/gatus#1200) - chore(deps): Update aws-sdk-go to aws-sdk-go-v2 by [@​TwiN](https://github.com/TwiN) in [#​1305](TwiN/gatus#1305) #### New Contributors - [@​NerdySoftPaw](https://github.com/NerdySoftPaw) made their first contribution in [#​1296](TwiN/gatus#1296) - [@​yansh97](https://github.com/yansh97) made their first contribution in [#​1286](TwiN/gatus#1286) - [@​andriyor](https://github.com/andriyor) made their first contribution in [#​1200](TwiN/gatus#1200) **Full Changelog**: <TwiN/gatus@v5.25.2...v5.26.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzUuNCIsInVwZGF0ZWRJblZlciI6IjQxLjEzNS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbWFnZSJdfQ==--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1689 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
Summary
This helps solving issue: #1085
Since this adds a new placeholder shouldn't interfere with the current behaviour gatus has.
Checklist
README.md, if applicable.