-
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 s3 tier 2 request usage is very high #7916
Comments
Hello @doctorpangloss! I'm here to help you with your Thanos S3 tier 2 request usage issue. Let's figure this out together. There are a few discussions and issues related to high S3 request usage with Thanos that might be helpful:
These solutions involve tuning the configuration to optimize the request load on S3. You might want to consider these adjustments based on your specific use case and requirements. |
Can you please share more details about the number of requests to S3 you have? Have you tried the metadata caches? |
thanos is indeed the cause |
Honestly I am overwhelmed by how difficult it is to answer any of these questions. Do you have any advice for investigating this? For now I am simply setting the number of replicas of thanos to zero, because the usage has absolutely exploded. |
Hi @doctorpangloss, just to get a quick overview, you can just scrape the metrics of thanos-store of its http-endpoint and import the official thanos-store example dashboard to your grafana instance. https://github.com/thanos-io/thanos/blob/main/examples/dashboards/store.json There is a row called "Bucket-Operations". Or you just scrape the metrics endpoint yourself. |
There is a mind-numbing amount of arcana related to using thanos with s3 without suffering from insane request costs
#2643
#2389
What is the correct configuration for thanos so that when used as a storage backend for prometheus, which is 99% of people, with s3, which is probably 95% of people, such that there isn't a huge request load?
The text was updated successfully, but these errors were encountered: