alertmanager/notify
Simon Rozet 41eb1213bb
support loading webhook URL from a file (#3223)
* support loading webhook URL from a file

/cc #2498

Signed-off-by: Simon Rozet <me@simonrozet.com>

* notify/webhook: add test for reading url from file

Signed-off-by: Simon Rozet <me@simonrozet.com>

* notify/pushover: add tests for reading secrets from files

Signed-off-by: Simon Rozet <me@simonrozet.com>

---------

Signed-off-by: Simon Rozet <me@simonrozet.com>
2023-03-03 15:31:14 +01:00
..
discord
email feat: add template.FromGlobsWithAdditionalFuncs (#3174) 2022-12-16 10:13:13 -04:00
opsgenie Rename key to max_runes 2022-12-13 17:28:11 -06:00
pagerduty Rename key to max_runes 2022-12-13 17:28:11 -06:00
pushover support loading webhook URL from a file (#3223) 2023-03-03 15:31:14 +01:00
slack Merge pull request #3145 from alexweav/log-warn 2022-12-13 19:33:30 -04:00
sns add status code label to the numTotalFailedNotifications metric (#3094) 2023-02-03 12:09:21 +00:00
telegram telegram: use HTML template with HTML parse mode 2022-12-20 17:17:53 +01:00
test feat: add template.FromGlobsWithAdditionalFuncs (#3174) 2022-12-16 10:13:13 -04:00
victorops Rename key to max_runes 2022-12-13 17:28:11 -06:00
webex Remove the dedicated field to APIURL in favour of the configuration one 2022-12-15 11:51:45 -04:00
webhook support loading webhook URL from a file (#3223) 2023-03-03 15:31:14 +01:00
wechat Remove ioutil 2022-07-18 22:01:02 +09:00
notify.go add status code label to the numTotalFailedNotifications metric (#3094) 2023-02-03 12:09:21 +00:00
notify_test.go add status code label to the numTotalFailedNotifications metric (#3094) 2023-02-03 12:09:21 +00:00
util.go add status code label to the numTotalFailedNotifications metric (#3094) 2023-02-03 12:09:21 +00:00
util_test.go Use the new truncation in bytes functions to ensure strings are not butchered 2022-11-11 15:15:09 +00:00