-
Notifications
You must be signed in to change notification settings - Fork 364
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
using thanos for querying? #911
Comments
Probably I've not explained my aim well or maybe I've misunderstood what the downsampling feature in Thanos does. I want to query kube-state-metrics pod data over a time range of about a month with intervals of days or weeks. Each interval would have more than 11,000 data points if the raw prometheus data were used. But I'm thinking that with Thanos I could have access to downsampled data. I believe Thanos would be automatically deriving alternative time series data with a resolution which is as though the scrapes had taken place at 5m and 1hr intervals. For my case if I could use the 1hr-resolution downsampled data my queries should be fine. I believe the concept of auto-downsampling means it automatically chooses between raw, 5m or 1hr resolutions. So I'm hoping I can keep the interval but change which sample resolution the query is run against. Apologies for not explaining that. Please do let me know if there's anything I might be misunderstanding or here or any red flags for doing this cluster monitoring (e.g. cluster monitoring retention periods might be different or configuring them might be different). |
@ryandawsonuk downsampling is part of Thanos Compactor which is not deployed in the in-cluster monitoring stack. We only deploy Thanos Querier, Thanos Sidecar, and Thanos Ruler (for user workload monitoring). |
Thanks for letting me know @s-urbaniak . I think that answers my key question. |
I'm currently querying against the prometheus of the cluster monitoring operator, hitting the prometheus-k8s service. That works fine. Now I've a situation where my queries could easily exceed the 11,000 data point max resolution on prometheus. I'm guessing that limit applies for the cluster monitoring operator's prometheus too. So I'm wondering about Thanos. I see there's references to Thanos in this codebase. Is Thanos automatically installed with the operator and is there a Thanos query API available for me to query? Or is Thanos something that I would have to install separately?
The text was updated successfully, but these errors were encountered: