prometheus/storage
Julius Volz 9f10c63cff
Fix remote read labelset corruption (#3456)
The labelsets returned from remote read are mutated in higher levels
(like seriesFilter.Labels()) and since the concreteSeriesSet didn't
return a copy, the external mutation affected the labelset in the
concreteSeries itself. This resulted in bizarre bugs where local and
remote series would show with identical label sets in the UI, but not be
deduplicated, since internally, a series might come to look like:

{__name__="node_load5", instance="192.168.1.202:12090", job="node_exporter", node="odroid", node="odroid"}

(note the repetition of the last label)
2017-11-12 00:47:47 +01:00
..
remote Fix remote read labelset corruption (#3456) 2017-11-12 00:47:47 +01:00
tsdb tsdb: default too small max block duration 2017-10-30 12:09:56 +01:00
buffer.go Fix error where we look into the future. (#2829) 2017-06-13 07:22:27 +02:00
buffer_test.go Fix error where we look into the future. (#2829) 2017-06-13 07:22:27 +02:00
fanout.go Fast path the merge querier (#3358) 2017-10-27 13:29:05 +02:00
fanout_test.go Remove "package remote" garbage from license headers (#3304) 2017-10-17 02:26:38 +01:00
interface.go Remote storage reads based on oldest timestamp in primary storage (#3129) 2017-10-18 12:08:14 +01:00
noop.go Fast path the merge querier (#3358) 2017-10-27 13:29:05 +02:00