Documentation
¶
Overview ¶
Package analytics provides thin service wrappers over trace analytics queries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostService ¶
type CostService struct {
// contains filtered or unexported fields
}
func NewCostService ¶
func NewCostService(store trace.TraceStore) *CostService
func (*CostService) Summary ¶
func (s *CostService) Summary(ctx context.Context, filter trace.AnalyticsFilter) (*trace.CostSummary, error)
type ModelService ¶
type ModelService struct {
// contains filtered or unexported fields
}
func NewModelService ¶
func NewModelService(store trace.TraceStore) *ModelService
func (*ModelService) Stats ¶
func (s *ModelService) Stats(ctx context.Context, filter trace.AnalyticsFilter) ([]trace.ModelStats, error)
type UsageService ¶
type UsageService struct {
// contains filtered or unexported fields
}
func NewUsageService ¶
func NewUsageService(store trace.TraceStore) *UsageService
func (*UsageService) Summary ¶
func (s *UsageService) Summary(ctx context.Context, filter trace.AnalyticsFilter) (*trace.UsageSummary, error)
Click to show internal directories.
Click to hide internal directories.