[Feature][javaagent][es-plugin] Optimize the handling of the xxxAsync
method span
#12010
Closed
2 of 3 tasks
Labels
feature
New feature
good first issue
Good first issue for beginners
java
Java agent related
plugin
Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Search before asking
Description
Currently, both synchronous method (ex. org.elasticsearch.client.RestHighLevelClient#
search
) and asynchronous method (ex. org.elasticsearch.client.RestHighLevelClient#searchAsync
) complete the span after the method call completes.This is normal for synchronous methods, however for asynchronous methods, the elapsed time in its span is incorrect.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: