mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added backend API for stats
This commit is contained in:
@@ -18,3 +18,18 @@ type GetSystemStatsQuery struct {
|
||||
type GetDataSourceStatsQuery struct {
|
||||
Result []*DataSourceStats
|
||||
}
|
||||
|
||||
type AdminStats struct {
|
||||
UserCount int
|
||||
OrgCount int
|
||||
DashboardCount int
|
||||
DBSnapshotCount int
|
||||
DBTagCount int
|
||||
DataSourceCount int
|
||||
PlaylistCount int
|
||||
StarredDBCount int
|
||||
}
|
||||
|
||||
type GetAdminStatsQuery struct {
|
||||
Result *AdminStats
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user