Missed a static import
MODIFY
dd-java-agent/instrumentation/play-2.3/src/main/java8/datadog/trace/instrumentation/play23/PlayAdvice.java
dd-java-agent/instrumentation/play-2.3/src/main/java8/datadog/trace/instrumentation/play23/PlayAdvice.java
@@ -4,6 +4,7 @@ import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.activateSp
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.activeSpan;
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.propagate;
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.startSpan;
+import static datadog.trace.instrumentation.play23.PlayHeaders.GETTER;
import static datadog.trace.instrumentation.play23.PlayHttpServerDecorator.DECORATE;
import datadog.trace.bootstrap.instrumentation.api.AgentScope;
@@ -21,7 +22,7 @@ public class PlayAdvice {
public static AgentScope onEnter(@Advice.Argument(0) final Request req) {
final AgentSpan span;
if (activeSpan() == null) {
- final Context extractedContext = propagate().extract(req.headers(), PlayHeaders.GETTER);
+ final Context extractedContext = propagate().extract(req.headers(), GETTER);
span = startSpan("play.request", extractedContext);
} else {
// An upstream framework (e.g. akka-http, netty) has already started the span.

Missed a static import