cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Disable SortMapKeys in query-frontend response encoding

Open pracucci opened this issue 3 years ago • 0 comments

The query-frontend Prometheus query range response encoding (json) has SortMapKeys enabled. Based on the comment received on 3964, we could try to disable it, to have the json encoding having to do less work.

Questions:

  1. What's the impact on performances? If there's no gain, then there's probably no value into risk a change.
  2. Does it break any client? What's about Grafana?
  3. Does Prometheus guarantees sorted keys?

pracucci avatar Mar 23 '21 08:03 pracucci