Enable Spymemcached instrumentation by default
This commit is contained in:
parent
38a9d86372
commit
79d3327475
|
@ -73,11 +73,6 @@ public final class MemcachedClientInstrumentation extends Instrumenter.Default {
|
||||||
return transformers;
|
return transformers;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected boolean defaultEnabled() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static class AsyncOperationAdvice {
|
public static class AsyncOperationAdvice {
|
||||||
|
|
||||||
@Advice.OnMethodEnter(suppress = Throwable.class)
|
@Advice.OnMethodEnter(suppress = Throwable.class)
|
||||||
|
|
|
@ -35,10 +35,6 @@ import static net.spy.memcached.ConnectionFactoryBuilder.Protocol.BINARY
|
||||||
@Requires({ "true" == System.getenv("CI") || jvm.java8Compatible })
|
@Requires({ "true" == System.getenv("CI") || jvm.java8Compatible })
|
||||||
class SpymemcachedTest extends AgentTestRunner {
|
class SpymemcachedTest extends AgentTestRunner {
|
||||||
|
|
||||||
static {
|
|
||||||
System.setProperty("dd.integration.spymemcached.enabled", "true")
|
|
||||||
}
|
|
||||||
|
|
||||||
@Shared
|
@Shared
|
||||||
def parentOperation = "parent-span"
|
def parentOperation = "parent-span"
|
||||||
@Shared
|
@Shared
|
||||||
|
|
Loading…
Reference in New Issue