Skip to content

Commit

Permalink
Enable netty instrumentation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbenson committed Aug 22, 2018
1 parent 4d91cf1 commit 69c04ea
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public NettyChannelPipelineInstrumentation() {
super("netty", "netty-4.1");
}

@Override
protected boolean defaultEnabled() {
return false;
}

@Override
public ElementMatcher<TypeDescription> typeMatcher() {
return not(isInterface()).and(safeHasSuperType(named("io.netty.channel.ChannelPipeline")));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import static datadog.trace.agent.test.server.http.TestHttpServer.httpServer
import static org.asynchttpclient.Dsl.asyncHttpClient

class Netty40ClientTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.netty.enabled", "true")
}

@AutoCleanup
@Shared
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ import okhttp3.Request
import static datadog.trace.agent.test.asserts.ListWriterAssert.assertTraces

class Netty40ServerTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.netty.enabled", "true")
}

OkHttpClient client = OkHttpUtils.client()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public NettyChannelPipelineInstrumentation() {
super("netty", "netty-4.1");
}

@Override
protected boolean defaultEnabled() {
return false;
}

@Override
public ElementMatcher<TypeDescription> typeMatcher() {
return not(isInterface()).and(safeHasSuperType(named("io.netty.channel.ChannelPipeline")));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import static datadog.trace.agent.test.server.http.TestHttpServer.httpServer
import static org.asynchttpclient.Dsl.asyncHttpClient

class Netty41ClientTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.netty.enabled", "true")
}

@AutoCleanup
@Shared
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ import okhttp3.Request
import static datadog.trace.agent.test.asserts.ListWriterAssert.assertTraces

class Netty41ServerTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.netty.enabled", "true")
}

OkHttpClient client = OkHttpUtils.client()

Expand Down

0 comments on commit 69c04ea

Please sign in to comment.