grafana/pkg/services/stats/stats.go
Serge Zaitsev 2025c1dac1
Chore: Remove result field from stats (#65166)
remove result field from stats
2023-03-30 08:08:47 +02:00

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)
}