-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanos query param dedup
does not take effect after add externalLabels for prometheus and thanos-ruler?
#7033
Comments
dedup
does not take effect?dedup
does not take effect after add externalLabels for prometheus and thanos-ruler?
0.31 has had known dedup issues, can you try upgrading? |
ok, i can try it , can i ask which issue or which patch is already repair it? @MichaHoffmann |
There were a couple, the root cause was in the end that the store apis could under some circumstances involving external labels return unsorted responses but dedup replies on them being sorted |
what mean the |
Ah, I mean the gRPC store api; all of them implement it on one way or another! |
Got it , thanks very much. |
Yes precisely that! |
execuse me, when i upgrade thanos-ruler from 0.31.0 to 0.32.0/0.33.0, the thanos ruler raise error: Thanos-ruler cannot be upgraded directly from 0.31.0 to higher version? what else do i need to do? @MichaHoffmann |
I think that is a case of |
it works! Thank you very much!! |
You're welcome! |
Thanos, Prometheus and Golang version used: thanos v0.31.0
What happened:


After add external label to thanos ruler, when i query metric through thanos-query
the param is not taking effect? and the metrics on the second and third lines are exactly the same, just like:


and when i change the label to

{host_ip="10.20.0.7"}
, the metric become to one metric? why?How to reproduce it (as minimally and precisely as possible):
add the same external label to prometheus and thanos ruler
Anybody can help? This is a bug for thanos or i ignore some settings after add external labels?
The text was updated successfully, but these errors were encountered: