-
Notifications
You must be signed in to change notification settings - Fork 9.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
[release 2.54] [BUGFIX] Scraping: allow multiple samples on same series #14685
[release 2.54] [BUGFIX] Scraping: allow multiple samples on same series #14685
Conversation
So long as they specify timestamps. We don't check that the timestamps are different. Extend test, and use client_golang/prometheus/testutil to simplify metric check. Signed-off-by: Bryan Boreham <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
If we could add a test stating that we assume with this fix |
Actually, if they arrive in this order |
This came up on the issue - I don’t think we should make guarantees about mixing timestamp and no-timestamp. At low probability, the specified timestamp would end up equal to the unspecified one. |
So long as they specify timestamps. We don't check that the timestamps are different. Extend test, and use client_golang/prometheus/testutil to simplify metric check. Signed-off-by: Bryan Boreham <[email protected]>
[release 2.53] Backport #14685 Scraping: allow multiple samples on same series
Hello , will this change be merged to 2.53.0 LTS version |
Change introduced in prometheus#12933 and partially reversed in prometheus#14685 Signed-off-by: Konrad <[email protected]>
Change introduced in prometheus#12933 and partially reversed in prometheus#14685
Change introduced in prometheus#12933; old behavior partially recoved in prometheus#14685 Signed-off-by: Konrad <[email protected]>
No we will not change 2.53.0. There should be a patch release with #14740. |
@bboreham I downgraded to v2.47 and there is no scrapping errors . |
Please open an issue and include the metrics being scraped. |
So long as they specify timestamps. We don't check that the timestamps are different.
Fixes #14503
Extend test, and
use client_golang/prometheus/testutil
to simplify metric check.