Reapply "Fix: Handle duplicate validation correctly when sanitizing (#4238)"#4265
Reapply "Fix: Handle duplicate validation correctly when sanitizing (#4238)"#4265
Conversation
|
@simonswine Please take a look when you're back. It seems the we weren't keeping the labels properly ordered after updating them. |
simonswine
left a comment
There was a problem hiding this comment.
Thanks for picking that up, I do think it fairly hard to read and not entirely sure if its correct. Let's simplfy this as I mentioned in the comments.
|
@simonswine I addressed all the concerns, lmkwyt |
simonswine
left a comment
There was a problem hiding this comment.
Can't approve as it's my PR, but I would approve if I could.
Thanks for revisiting this ❤️
|
LGTM, I'm wondering how would be the performance impact of using |
I think labels must stay sorted for consistent fingerprints ( |
This introduces #4238 again, it does break the OTLP validation integration tests.
@marcsanmi if you got the chance, please take a look at it.
Fixes https://github.com/grafana/pyroscope-squad/issues/480