grafana/pkg/models/stats.go
2016-01-24 11:01:33 -08:00

36 lines
550 B
Go

package models
type SystemStats struct {
DashboardCount int
UserCount int
OrgCount int
}
type DataSourceStats struct {
Count int
Type string
}
type GetSystemStatsQuery struct {
Result *SystemStats
}
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
}