Add another helper used by Joiner.
MODIFY
dd-java-agent/instrumentation/elasticsearch-transport-2/src/main/java/datadog/trace/instrumentation/elasticsearch2/Elasticsearch2TransportClientInstrumentation.java
dd-java-agent/instrumentation/elasticsearch-transport-2/src/main/java/datadog/trace/instrumentation/elasticsearch2/Elasticsearch2TransportClientInstrumentation.java
@@ -48,6 +48,7 @@ public class Elasticsearch2TransportClientInstrumentation extends Instrumenter.C
classLoaderHasClasses("org.elasticsearch.plugins.SitePlugin"))
.transform(
new HelperInjector(
+ "com.google.common.base.Preconditions",
"com.google.common.base.Joiner",
"datadog.trace.instrumentation.elasticsearch2.TransportActionListener"))
.transform(DDTransformers.defaultTransformers())

MODIFY
dd-java-agent/instrumentation/elasticsearch-transport-5/src/main/java/datadog/trace/instrumentation/elasticsearch5/Elasticsearch5TransportClientInstrumentation.java
dd-java-agent/instrumentation/elasticsearch-transport-5/src/main/java/datadog/trace/instrumentation/elasticsearch5/Elasticsearch5TransportClientInstrumentation.java
@@ -48,6 +48,7 @@ public class Elasticsearch5TransportClientInstrumentation extends Instrumenter.C
classLoaderHasClasses("org.elasticsearch.percolator.TransportMultiPercolateAction"))
.transform(
new HelperInjector(
+ "com.google.common.base.Preconditions",
"com.google.common.base.Joiner",
"datadog.trace.instrumentation.elasticsearch5.TransportActionListener"))
.transform(DDTransformers.defaultTransformers())

MODIFY
dd-java-agent/instrumentation/elasticsearch-transport-6/src/main/java/datadog/trace/instrumentation/elasticsearch6/Elasticsearch6TransportClientInstrumentation.java
dd-java-agent/instrumentation/elasticsearch-transport-6/src/main/java/datadog/trace/instrumentation/elasticsearch6/Elasticsearch6TransportClientInstrumentation.java
@@ -52,6 +52,7 @@ public class Elasticsearch6TransportClientInstrumentation extends Instrumenter.C
classLoaderHasClasses("org.elasticsearch.client.RestClientBuilder$2"))
.transform(
new HelperInjector(
+ "com.google.common.base.Preconditions",
"com.google.common.base.Joiner",
"datadog.trace.instrumentation.elasticsearch6.TransportActionListener"))
.transform(DDTransformers.defaultTransformers())

Add another helper used by Joiner.