Add monthlyActiveUsers to stats API and usage report (#41289)

Closes grafana/grafana-enterprise-partnerships-team#7
This commit is contained in:
Guilherme Caulada
2021-11-03 18:59:05 -03:00
committed by GitHub
parent e8e84f9c23
commit 5afaf8930c
3 changed files with 18 additions and 5 deletions
+2
View File
@@ -6,6 +6,7 @@ type SystemStats struct {
Users int64
ActiveUsers int64
DailyActiveUsers int64
MonthlyActiveUsers int64
Orgs int64
Playlists int64
Alerts int64
@@ -94,6 +95,7 @@ type AdminStats struct {
DailyActiveEditors int64 `json:"dailyActiveEditors"`
DailyActiveViewers int64 `json:"dailyActiveViewers"`
DailyActiveSessions int64 `json:"dailyActiveSessions"`
MonthlyActiveUsers int64 `json:"monthlyActiveUsers"`
}
type GetAdminStatsQuery struct {