Elasticsearch5 helpers
MODIFY
dd-java-agent/instrumentation/elasticsearch-rest-5/src/main/java/datadog/trace/instrumentation/elasticsearch5/Elasticsearch5RestClientInstrumentation.java
dd-java-agent/instrumentation/elasticsearch-rest-5/src/main/java/datadog/trace/instrumentation/elasticsearch5/Elasticsearch5RestClientInstrumentation.java
@@ -35,6 +35,11 @@ public class Elasticsearch5RestClientInstrumentation extends Instrumenter.Defaul
return false;
}
+ @Override
+ public String[] helperClassNames() {
+ return new String[] {"datadog.trace.instrumentation.elasticsearch5.RestResponseListener"};
+ }
+
@Override
public ElementMatcher typeMatcher() {
return not(isInterface()).and(named("org.elasticsearch.client.RestClient"));

Elasticsearch5 helpers