-
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
Unable to Query Data Beyond 8 Days in Thanos Query #8057
Comments
Hey @anvar-bidgely! 👋 I'm here to help you with bug fixes, questions, and becoming a contributor. The issue you're experiencing with querying data beyond 8 days in Thanos Query could be related to the retention settings and the availability of data in the Thanos Store. Here are a few points to consider:
By reviewing these aspects, you should be able to identify why data beyond 8 days is not being returned and make the necessary adjustments to your Thanos setup. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Same issue here. We are using a query with a fixed step-size of 2 minutes. when we set a time range of 30 days its searching in the 1h-blocks but the 2 min steps are obviously not able to fetch data. This can be proofed in thanos-query when we force the query to only use 1h or 5m blocks. When we force it to use raw-data (30s) it is able to draw the graph for 30 days. So it seems like there is a communication problem between the querier and the store where the store is not able to choose the right resolution based on the query. |
Hey I think it might be a known issue with downsampled data. What kind of query were you using? If it has |
I think #7012 could help with this issue |
@yeya24 Yes, i was using rate function ...Also, when can i expect the new change to be released Thanks |
Description:
We are encountering an issue where querying data beyond 8 days is not possible, whereas, in the past, we were able to retrieve data for up to 20 days. Recently, queries for longer time periods (e.g., 20 days) are returning no data.
Problem Description:
Issue: When querying data for periods longer than 8 days, the data is not returned. The logs show that certain store addresses do not have data for the requested time period.
Previously Working Period: We were able to query data for up to 20 days, but now we are unable to retrieve data beyond 8 days.
Expected Behavior:
When querying data beyond 8 days (e.g., 20 days), the data should be returned, as it was previously working without issues.
Data should be available from the Thanos Store for the configured retention periods, specifically --retention.resolution-raw=7d, --retention.resolution-5m=20d and --retention.resolution-1h=60d.
Logs:
Here is a sample log from when querying for a longer period:
The text was updated successfully, but these errors were encountered: