adds usage stats for alert notifiers (#13173)

This commit is contained in:
Carl Bergquist
2018-09-06 21:03:09 +02:00
committed by Torkel Ödegaard
parent 44cd738dd9
commit b070784b8a
5 changed files with 55 additions and 0 deletions
+6
View File
@@ -36,5 +36,11 @@ func TestStatsDataAccess(t *testing.T) {
err := GetDataSourceAccessStats(&query)
So(err, ShouldBeNil)
})
Convey("Get alert notifier stats should not results in error", func() {
query := m.GetAlertNotifierUsageStatsQuery{}
err := GetAlertNotifiersUsageStats(context.Background(), &query)
So(err, ShouldBeNil)
})
})
}