BaselineAggregator is a special series combiner for the compare() function. It resplits job-level results into baseline and selection buffers, and if an attribute reached max cardinality at the job-level, it will be marked as such at the query-level.
| 350 | // an attribute reached max cardinality at the job-level, it will be marked |
| 351 | // as such at the query-level. |
| 352 | type BaselineAggregator struct { |
| 353 | topN int |
| 354 | intervalMapper IntervalMapper |
| 355 | baseline map[string]map[StaticMapKey]staticWithTimeSeries |
| 356 | selection map[string]map[StaticMapKey]staticWithTimeSeries |
| 357 | baselineTotals map[string]map[StaticMapKey]staticWithTimeSeries |
| 358 | selectionTotals map[string]map[StaticMapKey]staticWithTimeSeries |
| 359 | maxed map[string]struct{} |
| 360 | exemplarBuckets bucketSet |
| 361 | } |
| 362 | |
| 363 | type staticWithTimeSeries struct { |
| 364 | val Static |
nothing calls this directly
no outgoing calls
no test coverage detected