Enable Spymemcached instrumentation by default
MODIFY
dd-java-agent/instrumentation/spymemcached-2.12/src/main/java/datadog/trace/instrumentation/spymemcached/MemcachedClientInstrumentation.java
dd-java-agent/instrumentation/spymemcached-2.12/src/main/java/datadog/trace/instrumentation/spymemcached/MemcachedClientInstrumentation.java
@@ -73,11 +73,6 @@ public final class MemcachedClientInstrumentation extends Instrumenter.Default {
return transformers;
}
- @Override
- protected boolean defaultEnabled() {
- return false;
- }
-
public static class AsyncOperationAdvice {
@Advice.OnMethodEnter(suppress = Throwable.class)

MODIFY
dd-java-agent/instrumentation/spymemcached-2.12/src/test/groovy/datadog/trace/instrumentation/spymemcached/SpymemcachedTest.groovy
dd-java-agent/instrumentation/spymemcached-2.12/src/test/groovy/datadog/trace/instrumentation/spymemcached/SpymemcachedTest.groovy
@@ -35,10 +35,6 @@ import static net.spy.memcached.ConnectionFactoryBuilder.Protocol.BINARY
@Requires({ "true" == System.getenv("CI") || jvm.java8Compatible })
class SpymemcachedTest extends AgentTestRunner {
- static {
- System.setProperty("dd.integration.spymemcached.enabled", "true")
- }
-
@Shared
def parentOperation = "parent-span"
@Shared

Enable Spymemcached instrumentation by default