(ctx context.Context, start time.Time, end time.Time, wheres []monitor.MonWhereItem)
| 278 | } |
| 279 | |
| 280 | func (e *executor) RequestSummary(ctx context.Context, start time.Time, end time.Time, wheres []monitor.MonWhereItem) (*monitor.Summary, error) { |
| 281 | newStartTime, _, _, bucket := getTimeIntervalAndBucket(start, end) |
| 282 | return e.summary(ctx, newStartTime, end, bucket, formatFilter(wheres), &flux.StatisticsFilterConf{ |
| 283 | Measurement: "request", |
| 284 | AggregateFn: "sum()", |
| 285 | Fields: []string{"total", "success", "s4xx", "s5xx"}, |
| 286 | }, "") |
| 287 | } |
| 288 | |
| 289 | func (e *executor) ProxySummary(ctx context.Context, start time.Time, end time.Time, wheres []monitor.MonWhereItem) (*monitor.Summary, error) { |
| 290 | newStartTime, _, _, bucket := getTimeIntervalAndBucket(start, end) |
nothing calls this directly
no test coverage detected