mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
2025c1dac1
remove result field from stats
15 lines
691 B
Go
15 lines
691 B
Go
package stats
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Service interface {
|
|
GetAdminStats(ctx context.Context, query *GetAdminStatsQuery) (*AdminStats, error)
|
|
GetAlertNotifiersUsageStats(ctx context.Context, query *GetAlertNotifierUsageStatsQuery) ([]*NotifierUsageStats, error)
|
|
GetDataSourceStats(ctx context.Context, query *GetDataSourceStatsQuery) ([]*DataSourceStats, error)
|
|
GetDataSourceAccessStats(ctx context.Context, query *GetDataSourceAccessStatsQuery) ([]*DataSourceAccessStats, error)
|
|
GetSystemStats(ctx context.Context, query *GetSystemStatsQuery) (*SystemStats, error)
|
|
GetSystemUserCountStats(ctx context.Context, query *GetSystemUserCountStatsQuery) (*SystemUserCountStats, error)
|
|
}
|