-
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
query: 30 seconds lag of adding store to query storeset on start #830
Comments
Indeed you are right - it takes a long time for Thanos Store to start. Did you check the logs of |
prometheus01 (sidecar) and thanos-store01 (store) are runing all time when I'm restart query service. If I'm use cluster - store added faster, when probe cluster address success. |
@R4scal @GiedriusS I found that you can set the Please look at those code: The Could we add one line of code after there?
What do you think? @R4scal @GiedriusS |
@jojohappy sounds like reasonable change potentially. |
@jojohappy quite right |
@jojohappy care to convert it into a PR? :P If not, I'll do that |
@GiedriusS Sorry for the delay. I'll write a PR as soon as possible. Thanks! |
Hi
After thanos query service start and listen for queries passes approximately 30 seconds before it read targets from
store.sd-files
config and in logsNo store matched for this query
.May be not listen for queries before store backend initialized?
Run thanos query with options
Logs:
The text was updated successfully, but these errors were encountered: