Function
newChunkToSeriesDecoder
(labels labels.Labels, chk chunks.Meta)
Source from the content-addressed store, hash-verified
| 278 | } |
| 279 | |
| 280 | func newChunkToSeriesDecoder(labels labels.Labels, chk chunks.Meta) Series { |
| 281 | return &SeriesEntry{ |
| 282 | Lset: labels, |
| 283 | SampleIteratorFn: func(it chunkenc.Iterator) chunkenc.Iterator { |
| 284 | // TODO(bwplotka): Can we provide any chunkenc buffer? |
| 285 | return chk.Chunk.Iterator(it) |
| 286 | }, |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | type seriesSetToChunkSet struct { |
| 291 | SeriesSet |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…