Make spymemcached instrumentation disabled by default
This commit is contained in:
parent
1e4c88ffcb
commit
0e62ee8ec6
|
@ -82,6 +82,11 @@ public final class MemcachedClientInstrumentation extends Instrumenter.Configura
|
|||
.asDecorator();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean defaultEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public static class AsyncOperationAdvice {
|
||||
|
||||
@Advice.OnMethodEnter(suppress = Throwable.class)
|
||||
|
|
|
@ -32,6 +32,10 @@ import static net.spy.memcached.ConnectionFactoryBuilder.Protocol.BINARY
|
|||
|
||||
class SpymemcachedTest extends AgentTestRunner {
|
||||
|
||||
static {
|
||||
System.setProperty("dd.integration.spymemcached.enabled", "true")
|
||||
}
|
||||
|
||||
@Shared
|
||||
def parentOperation = "parent-span"
|
||||
@Shared
|
||||
|
|
Loading…
Reference in New Issue