common
common copied to clipboard
expfmt: Handle duplicate buckets and quantiles during decoding
See prometheus/pushgateway#51 for a detailed example.
While originally, this was thought to be a responsibility of the text parser, it could also happen in the same way in the protobuf format. It has to be detected during decoding in any case.
Un-assigning from myself as I intend to focus on other Prometheus projects. Also, this is something that will go via a different code path in Prometheus 2.x, where I have little involvement. I leave it to the experts to figure out how (and whether at all) to deal with this issue.