71d04a326b
Alerting: Support tls config for webhook receiver ( #93513 )
...
Adds the ability to configure tls settings on the webhook receiver (e.g. to skip server certificate validation)
2024-10-22 12:44:32 +02:00
e0402115ea
Notifications: Optional trace propagation through SMTP ( #80481 )
...
* Notifications: Optional trace propagation through SMTP
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* fix failing test
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Add documentation
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-01-22 10:50:05 -05:00
efa0d90093
Alerting: Fix Teams notifier not failing on 200 response with error ( #52254 )
...
Team's webhook API does not always use the status code to communicate errors.
There are cases where it returns 200 and an error message in the body.
For example, 429 - Too Many Requests or when the message is too large.
Instead, what we should be looking for is a response body = "1".
https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL#send-messages-using-curl-and-powershell
2022-07-14 13:15:18 -04:00
c68eefd398
Alerting: Add abstraction layer and testing hooks in front of SMTP dialer ( #43875 )
...
* Add abstraction layer above SMTP communication
* Fix issues with attachments and sync command
* Tests for bad SMTP behavior
* Separate tests between async and sync entry points. Test difference between them
* Return interface so Wire can properly map types
* Address feedback from George
2022-01-13 15:19:15 -06:00