prometheus/storage/remote
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
..
client.go now using only github.com/gogo/protobuf 2017-11-02 11:31:57 +00:00
client_test.go Port remote read server to 2.0. 2017-10-26 11:09:14 +01:00
codec.go Fix remote read labelset corruption (#3456) 2017-11-12 00:47:47 +01:00
codec_test.go Fix remote read labelset corruption (#3456) 2017-11-12 00:47:47 +01:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
queue_manager.go Initialise some counters in remote storage API. 2017-10-26 11:09:45 +01:00
queue_manager_test.go Port remote read server to 2.0. 2017-10-26 11:09:14 +01:00
read.go Port remote read server to 2.0. 2017-10-26 11:09:14 +01:00
read_test.go s/TestRemoveLabels/TestSeriesSetFilter/ 2017-10-26 13:50:39 +01:00
storage.go Port 'Make queue manager configurable.' to 2.0, see #2991 2017-10-26 11:08:33 +01:00
write.go Add comment. 2017-10-26 11:09:16 +01:00