alertmanager/notify
Jason Cooper 277c9ed462
notify: add markdown support for wechat (#2309)
* notify: add markdown support for wechat

Signed-off-by: Jason Cooper <master@deamwork.com>

* docs: update WeChat receiver configuration document

Signed-off-by: Jason Cooper <master@deamwork.com>

* fix: check WeChat msgType, apply default if not present

Signed-off-by: Jason Cooper <master@deamwork.com>

* chore: remove unnecessary comment

Signed-off-by: Jason Cooper <master@deamwork.com>

* fix: simplify msgType process

Signed-off-by: Jason Cooper <master@deamwork.com>

* docs: wechat configs document update

Signed-off-by: Jason Cooper <master@deamwork.com>

* fix: apply error message suggestions

Signed-off-by: Jason Cooper <master@deamwork.com>

* test: add test for regex

Signed-off-by: Jason Cooper <master@deamwork.com>

* fix: wechat message safe param

Signed-off-by: Jason Cooper <master@deamwork.com>
2020-07-06 15:56:42 +02:00
..
email Add email notify Message-Id Header (#2057) 2019-10-23 15:49:30 +02:00
opsgenie Always pass all labels to Opsgenie 2020-06-09 13:51:46 +02:00
pagerduty Enforce 512KB event size limit for Pagerduty events (#2225) 2020-05-15 15:15:18 +02:00
pushover Bump prometheus/client_golang to v1.1.0 (#1989) 2019-08-08 14:36:10 +02:00
slack Add slack channel when logging error. (#2177) 2020-02-05 09:17:15 +01:00
test *: split notify package 2019-06-18 15:36:19 +02:00
victorops Bump prometheus/client_golang to v1.1.0 (#1989) 2019-08-08 14:36:10 +02:00
webhook Allow limiting maximum number of alerts in webhook (#2274) 2020-06-04 10:07:33 +02:00
wechat notify: add markdown support for wechat (#2309) 2020-07-06 15:56:42 +02:00
notify_test.go notify: don't use the global metrics registry (#1977) 2019-08-26 16:37:13 +02:00
notify.go notify: always retry with a back-off (#2290) 2020-06-16 09:50:35 +02:00
util_test.go notify: refactor code to retry requests (#1974) 2019-08-02 16:17:40 +02:00
util.go notify: refactor code to retry requests (#1974) 2019-08-02 16:17:40 +02:00