Closed
Description
This is not a documented feature of the remote write protocol; it happens to be the way Prometheus 2 works but Prometheus 1 didn't send labels sorted.
cortex/pkg/distributor/distributor.go
Lines 252 to 253 in f91f757
If we decide Cortex has this requirement we should document it and remove the surplus Sort()
here:
cortex/pkg/ingester/index/index.go
Line 143 in f91f757