Update couchbase-2.0 to new agent api
MODIFY
dd-java-agent/instrumentation/couchbase-2.0/src/main/java/datadog/trace/instrumentation/couchbase/client/CouchbaseOnSubscribe.java
dd-java-agent/instrumentation/couchbase-2.0/src/main/java/datadog/trace/instrumentation/couchbase/client/CouchbaseOnSubscribe.java
@@ -3,8 +3,8 @@ package datadog.trace.instrumentation.couchbase.client;
import static datadog.trace.instrumentation.couchbase.client.CouchbaseClientDecorator.DECORATE;
import datadog.trace.api.DDTags;
+import datadog.trace.instrumentation.api.AgentSpan;
import datadog.trace.instrumentation.rxjava.TracedOnSubscribe;
-import io.opentracing.Span;
import java.lang.reflect.Method;
import rx.Observable;
@@ -24,7 +24,7 @@ public class CouchbaseOnSubscribe extends TracedOnSubscribe {
}
@Override
- protected void afterStart(final Span span) {
+ protected void afterStart(final AgentSpan span) {
super.afterStart(span);
span.setTag(DDTags.RESOURCE_NAME, resourceName);

Update couchbase-2.0 to new agent api