-
Search before asking
Apache SkyWalking ComponentJava Agent (apache/skywalking-java) What happenedEnvironment:
After upgrading the Elasticsearch (ES) client dependency used in the Spring Boot application, the Skywalking Java Agent (v9.5.0) can no longer collect ES query request data. With the old ES client dependencies, the agent worked normally and successfully captured ES query-related metrics and traces. However, after switching to the officially recommended ES client version, all ES query request collection functionality stopped working—no ES-related data is displayed in the Skywalking UI. What you expected to happenThe Skywalking Java Agent (v9.5.0) should consistently collect and report ES query request data, regardless of whether the application uses the old ES client dependencies or the officially recommended new ES client dependency. How to reproduce
Anything elseNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
There is no guarantee that we could support new released or not tested version. Most likely, plugin needs some adjustments to support those new versions. |
Beta Was this translation helpful? Give feedback.
-
|
This has been addressed. PR apache/skywalking-java#804 adds a new plugin for the co.elastic.clients:elasticsearch-java client library, covering The plugin instruments RestClientTransport (7.x) and ElasticsearchTransportBase (8.x/9.x) to create exit spans for Elasticsearch operations, capturing operation names (e.g., It will be available in the next agent release. |
Beta Was this translation helpful? Give feedback.
This has been addressed. PR apache/skywalking-java#804 adds a new plugin for the co.elastic.clients:elasticsearch-java client library, covering
versions 7.x, 8.x, and 9.x.
The plugin instruments RestClientTransport (7.x) and ElasticsearchTransportBase (8.x/9.x) to create exit spans for Elasticsearch operations, capturing operation names (e.g.,
Elasticsearch/index, Elasticsearch/search) and peer addresses.
It will be available in the next agent release.