-
Notifications
You must be signed in to change notification settings - Fork 594
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
Support for tracing the callbacks of async methods in elastiicsearch-6.x/7.x-plugin #694
Conversation
…earch-6.x-plugin/elasticsearch-7.x-plugin.
|
||
// refresh | ||
client.indices().refresh(new RefreshRequest(indexName), RequestOptions.DEFAULT); | ||
Thread.sleep(1000); |
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.
Do we have another way to verify the request has been verified?
Such as, do it through query or callback?
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.
Sleep
usually is not stable when doing this, when resource is limited in GHA scenario.
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.
OK, I will improve that.
Could you verify that, is virtual database working as expected? |
ES-7.x case may fail again due to the limited resources. |
Test cases fail. You may need some recheck. |
Let me think twice. |
Support for tracing the callbacks of async methods in elastiicsearch-6.x/7.x-plugin
CHANGES
log.callbacks(onResponse/onFailure) for
Trace details:
record
transmission.latency
when callback:7.0.0 - 7.2.1 not included in the test because analyze method appears since 7.3.0