Replies: 3 comments 6 replies
-
Im having some issues with the custom alerting provider since it does not expand results.ConditionResults but results.Errors. This makes the beahaviour of the custom alert totally different from all the other providers. I believe they should be expanded to the same as other provider or have the custom provider to have an option to enable that (Emojis included) like in the pushover or telegram providers. https://github.com/TwiN/gatus/blob/master/alerting/provider/pushover/pushover.go#L151C105-L167 |
Beta Was this translation helpful? Give feedback.
-
I have added a pull request to have RESULT_CONDITIONS placeholder so it can be used with custom alerting module. |
Beta Was this translation helpful? Give feedback.
-
Closing this issue, because I would much rather adding support for Signal as an alerting provider than heavily relying on the custom alerting provider. The purpose of non-custom alerting providers is to custom-build them for the specific provider. The custom alerting provider, on the other hand, is more of a catch-all/backup solution. @kmath313 if you don't mind, could you provide the custom configuration you're using? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am using BBhernard's Signal API for a custom alert in Gatus. I have configured it to send the alerts both on error and resolution without any issues.
The issue I am having though is that the placeholder [RESULT_ERRORS] is not expanding out to list what conditions check failed. Yet when I use one of the pre-configured alert providers I get the list of conditions checks.
I looked at the code for the custom alert and is uses result.Errors but the pre-configured alerts use results.ConditionsResults.
Firstly - does anyone else have the issue where a custom provider isn't expanding to the failed conditions checks? And secondly is there any reason why the custom provider uses a different error slice to the pre-configured providers?
Beta Was this translation helpful? Give feedback.
All reactions