Documentation
¶
Index ¶
- type ResolverForStatistics
- func (r *ResolverForStatistics) Stats(ctx context.Context, ranges []*gqlmodel.Range, tags []string, ...) ([]*gqlmodel.RangedStatisticsEntries, error)
- func (r *ResolverForStatistics) Stats2(ctx context.Context, now model.Time, stats gqlmodel.InputStatsSelection) ([]*gqlmodel.RangedStatisticsEntries, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverForStatistics ¶
ResolverForStatistics resolves statistic things.
func (*ResolverForStatistics) Stats ¶
func (r *ResolverForStatistics) Stats(ctx context.Context, ranges []*gqlmodel.Range, tags []string, excludeTags []*gqlmodel.InputTimeSpanTag, requireTags []*gqlmodel.InputTimeSpanTag) ([]*gqlmodel.RangedStatisticsEntries, error)
Stats groups the time spans by tag key.
func (*ResolverForStatistics) Stats2 ¶
func (r *ResolverForStatistics) Stats2(ctx context.Context, now model.Time, stats gqlmodel.InputStatsSelection) ([]*gqlmodel.RangedStatisticsEntries, error)
Stats2 another version of the stats endpoint
Click to show internal directories.
Click to hide internal directories.