Chore: Remove result field from stats (#65166)

remove result field from stats
This commit is contained in:
Serge Zaitsev
2023-03-30 08:08:47 +02:00
committed by GitHub
parent 4b551ae532
commit 2025c1dac1
7 changed files with 149 additions and 160 deletions
+6 -18
View File
@@ -49,13 +49,9 @@ type DataSourceStats struct {
Type string
}
type GetSystemStatsQuery struct {
Result *SystemStats
}
type GetSystemStatsQuery struct{}
type GetDataSourceStatsQuery struct {
Result []*DataSourceStats
}
type GetDataSourceStatsQuery struct{}
type DataSourceAccessStats struct {
Type string
@@ -63,18 +59,14 @@ type DataSourceAccessStats struct {
Count int64
}
type GetDataSourceAccessStatsQuery struct {
Result []*DataSourceAccessStats
}
type GetDataSourceAccessStatsQuery struct{}
type NotifierUsageStats struct {
Type string
Count int64
}
type GetAlertNotifierUsageStatsQuery struct {
Result []*NotifierUsageStats
}
type GetAlertNotifierUsageStatsQuery struct{}
type AdminStats struct {
Orgs int64 `json:"orgs"`
@@ -102,17 +94,13 @@ type AdminStats struct {
MonthlyActiveUsers int64 `json:"monthlyActiveUsers"`
}
type GetAdminStatsQuery struct {
Result *AdminStats
}
type GetAdminStatsQuery struct{}
type SystemUserCountStats struct {
Count int64
}
type GetSystemUserCountStatsQuery struct {
Result *SystemUserCountStats
}
type GetSystemUserCountStatsQuery struct{}
type UserStats struct {
Users int64