From 697a3eaa4358130224ddbe25c10412177b1a42d5 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Sun, 8 Apr 2018 20:31:17 +0200 Subject: [PATCH] Fix after merge --- pkg/services/alerting/notifiers/discord.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/services/alerting/notifiers/discord.go b/pkg/services/alerting/notifiers/discord.go index 17080511656..b6831c90cfe 100644 --- a/pkg/services/alerting/notifiers/discord.go +++ b/pkg/services/alerting/notifiers/discord.go @@ -11,7 +11,6 @@ import ( "github.com/grafana/grafana/pkg/bus" "github.com/grafana/grafana/pkg/components/simplejson" "github.com/grafana/grafana/pkg/log" - "github.com/grafana/grafana/pkg/metrics" m "github.com/grafana/grafana/pkg/models" "github.com/grafana/grafana/pkg/services/alerting" "github.com/grafana/grafana/pkg/setting" @@ -54,7 +53,6 @@ type DiscordNotifier struct { func (this *DiscordNotifier) Notify(evalContext *alerting.EvalContext) error { this.log.Info("Sending alert notification to", "webhook_url", this.WebhookURL) - metrics.M_Alerting_Notification_Sent_Discord.Inc(1) ruleUrl, err := evalContext.GetRuleUrl() if err != nil {