瀏覽代碼

fix(metrics): typo

bergquist 9 年之前
父節點
當前提交
e7613b8bc0
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pkg/metrics/metrics.go

+ 3 - 3
pkg/metrics/metrics.go

@@ -80,9 +80,9 @@ func initMetricVars(settings *MetricSettings) {
 	M_Alerting_Result_Info = RegCounter("alerting.result", "severity", "info")
 	M_Alerting_Result_Ok = RegCounter("alerting.result", "severity", "ok")
 	M_Alerting_Active_Alerts = RegCounter("alerting.active_alerts")
-	M_Alerting_Notification_Sent_Slack = RegCounter("alerting.notifcations_sent", "type", "slack")
-	M_Alerting_Notification_Sent_Email = RegCounter("alerting.notifcations_sent", "type", "email")
-	M_Alerting_Notification_Sent_Webhook = RegCounter("alerting.notifcations_sent", "type", "webhook")
+	M_Alerting_Notification_Sent_Slack = RegCounter("alerting.notifications_sent", "type", "slack")
+	M_Alerting_Notification_Sent_Email = RegCounter("alerting.notifications_sent", "type", "email")
+	M_Alerting_Notification_Sent_Webhook = RegCounter("alerting.notifications_sent", "type", "webhook")
 
 	// Timers
 	M_DataSource_ProxyReq_Timer = RegTimer("api.dataproxy.request.all")