-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Federation returns duplicate timeseries when matchers #8885
Comments
Thank you. This is indeed a bug. I recommend you the following workaround for the time being:
|
Yup, I just wanted to make sure it was actually considered a bug 👍🏼 |
It is! :) |
Sorry, I didn't understand the bug here. Is it the repetition of series or the |
/federate should not return duplicate series |
I can solve this as I don't think anyone else is working on it. |
What did you do?
Use
/federate?match[]={__name__%3D~"(probe_.*)"}&match[]={job%3D~"http-local"}
What did you expect to see?
As mentioned in the documentation.
What did you see instead? Under which circumstances?
A "UNION ALL" to use SQL terminology.
Example:
Environment
System information: Centos 7 ( This is a "business logic issue, doesn't really matter)
Prometheus version:
2.27.1
Alertmanager version: N/A
Prometheus configuration file: N/A
Alertmanager configuration file: N/A
Logs:
On the prometheus which is federating the out-of-order samples message is the symptom
The text was updated successfully, but these errors were encountered: