feat(metrics): change active alerts to guage

This commit is contained in:
bergquist
2016-11-29 16:46:25 +01:00
parent 7e831e10a2
commit 360516ed41
3 changed files with 47 additions and 44 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func (arr *DefaultRuleReader) Fetch() []*Rule {
}
}
metrics.M_Alerting_Active_Alerts.Inc(int64(len(res)))
metrics.M_Alerting_Active_Alerts.Update(int64(len(res)))
return res
}