mirror of https://github.com/prometheus/prometheus
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)pull/3216/merge
parent
c8a735ceb6
commit
9f10c63cff
Loading…
Reference in new issue