mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 16:02:28 +00:00
bb724f1bef
Federation makes use of dedupedSeriesSet to merge SeriesSets for every query into one output stream. If many match[] arguments are provided, many dedupedSeriesSet objects will get chained. This has the downside of causing a potential O(n*k) running time, where n is the number of series and k the number of match[] arguments. In the mean time, the storage package provides a mergeSeriesSet that accomplishes the same with an O(n*log(k)) running time by making use of a binary heap. Let's just get rid of dedupedSeriesSet and change all existing callers to use mergeSeriesSet. |
||
---|---|---|
.. | ||
remote | ||
tsdb | ||
buffer_test.go | ||
buffer.go | ||
fanout_test.go | ||
fanout.go | ||
interface.go | ||
noop.go |