grafana/pkg/services/alerting/notifiers
Levi Harrison d3a590ca19
Alerting: Fix bug in Discord for when name for metric value is absent (#31257)
* Make sure Metric field in Discord notification is never empty

Discord uniquely does not send the alert if the metric field is empty, which can happen in some cases, such as when the legend is {{hostname}}.

Signed-off-by: Levi Harrison <levisamuelharrison@gmail.com>

* Changed name of empty metric in Discord alert

Signed-off-by: Levi Harrison <levisamuelharrison@gmail.com>
2021-03-02 11:37:35 +02:00
..
alertmanager_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
alertmanager.go Alerting: Fix so that sending an alert with the Alertmanager notifier doesn't fail when one of multiple configured URL's are down (#31079) 2021-02-11 15:13:53 +01:00
base_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
base.go Chore: spelling in Go code (#24433) 2020-06-02 14:42:34 +02:00
dingding_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
dingding.go Alarting: fix alarm messages in dingding (Fixes #29470) (#29482) 2020-12-02 11:09:49 +01:00
discord_test.go Correct name of Discord notifier tests (#31277) 2021-02-17 17:24:07 +01:00
discord.go Alerting: Fix bug in Discord for when name for metric value is absent (#31257) 2021-03-02 11:37:35 +02:00
email_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
email.go Migration: Edit notification channel (#25980) 2020-09-09 12:46:19 +02:00
googlechat_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
googlechat.go Alerting: Ensuring notifications displayed correctly in mobile device with Google Chat (#27578) 2020-09-18 09:41:34 +03:00
hipchat_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
hipchat.go Chore: Enable exhaustive linter (#29458) 2020-12-01 09:53:27 +01:00
kafka_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
kafka.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
line_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
line.go LINE Notify to have Alerts and OK notifications (#27639) 2020-09-24 15:45:53 +02:00
opsgenie_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
opsgenie.go Chore: Enable exhaustive linter (#29458) 2020-12-01 09:53:27 +01:00
pagerduty_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
pagerduty.go Alerting: Fix integration key so it's stored encrypted for Pagerduty notifier (#27484) 2020-09-10 17:43:49 +02:00
pushover_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
pushover.go Alerting: Customise OK notification priorities for Pushover notifier (#30169) 2021-02-03 10:57:18 +02:00
sensu_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
sensu.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
sensugo_test.go Alerting: Add support for Sensu Go notification channel (#28012) 2020-11-27 19:09:24 +02:00
sensugo.go Alerting notifier SensuGo: improvements in default message (#31428) 2021-02-25 10:52:34 +01:00
slack_test.go Chore: Drop xerrors dependency (#26718) 2020-07-31 09:45:20 +02:00
slack.go Security: Add gosec G304 auditing annotations (#29578) 2020-12-03 22:13:06 +01:00
teams_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
teams.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
telegram_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
telegram.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
threema_test.go Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
threema.go Chore: Enable exhaustive linter (#29458) 2020-12-01 09:53:27 +01:00
victorops_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
victorops.go Migration: Edit notification channel (#25980) 2020-09-09 12:46:19 +02:00
webhook_test.go WebhookNotifier: Convert tests away from goconvey (#29291) 2020-11-23 10:37:53 +01:00
webhook.go Migration: Edit notification channel (#25980) 2020-09-09 12:46:19 +02:00