Receiver enforces label order #5866
Unanswered
obeleh
asked this question in
Questions & Answers
Replies: 1 comment
-
Hey @obeleh, I'm not sure about the OTel, but Prometheus states this, i.e. labels being ordered alphabetically, as a requirement. I have recently opened an issue to get this fully clarified (prometheus/prometheus#11505) and there you can find few more information and related issues (also look at the remote write spec draft that is linked in that issue, it's also one of the requirements). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using open telemetry python
Code:
I get the following error
I can see this code checks if the labels are in order.
The python code doesn't order the labels. In fact when I patch the code to sort labels before sending the samples it works. I can out of the blue raise an issue and a PR to solve this. But I wonder. Is there somewhere described that OTel should send these labels in order? Is it a bug on the python side? Why does receiver expect the ordering?
Beta Was this translation helpful? Give feedback.
All reactions