(vals []v1.KeyValue, skipKey string)
| 361 | } |
| 362 | |
| 363 | func getLabels(vals []v1.KeyValue, skipKey string) Labels { |
| 364 | labels := make(Labels, 0, len(vals)) |
| 365 | for _, l := range vals { |
| 366 | if skipKey != "" && l.Key == skipKey { |
| 367 | continue |
| 368 | } |
| 369 | labels = append(labels, Label{ |
| 370 | Name: l.Key, |
| 371 | Value: StaticFromAnyValue(l.Value), |
| 372 | }) |
| 373 | } |
| 374 | return labels |
| 375 | } |
| 376 | |
| 377 | func (b *averageOverTimeSeriesAggregator) Results() SeriesSet { |
| 378 | ss := SeriesSet{} |
no test coverage detected