-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Add more logging when failing watch history entry fails. #50931
Add more logging when failing watch history entry fails. #50931
Conversation
Pinging @elastic/es-core-features (:Core/Features/Watcher) |
@elasticmachine run elasticsearch-ci/2 |
}); | ||
} catch (AssertionError ae) { | ||
{ | ||
Request request = new Request("GET", "/_watcher/stats"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may want add metric=_all
to include current and queued watches.
/_watcher/stats?metric=_all
logger.info("cluster_state: {}", EntityUtils.toString(response.getEntity())); | ||
} | ||
{ | ||
Request request = new Request("GET", "/.watcher-history-*/_search"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this fails and is stuck for during the assertBusy, may result in alot of .watcher_history... should we increase the default size ?
LGTM - a couple minor suggestions. |
…urityIT_more_logging
@elasticmachine run elasticsearch-ci/2 |
Relates to #30777