-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Log errors when polling for the ES version #97787
Comments
Pinging @elastic/kibana-core (Team:Core) |
I'm not sure if that's true, as we're using an
kibana/src/core/server/elasticsearch/version_check/ensure_es_version.ts Lines 136 to 153 in 4584a8b
|
You're right! The However, I ran a local test with the In any case, I think the log entry would be much welcomed. I'll update the description. Thanks for pointing that out @pgayvallet |
In
pollEsNodesVersion
, we are requesting the version everyhealthCheckInterval
(defaults to 2.5s).I think we should log when ES returns an error in this piece of logic. This validation can halt Kibana when an error connecting to ES occurs (both, during startup it holds SavedObjects migrations from happening, holding the rest of Kibana startup process, and during normal operations because the status will go RED and many services depending on it will fail). I'd say it'll be helpful if we
log.error
these to help with the troubleshooting.What do you think?
Scope:
The text was updated successfully, but these errors were encountered: