Skip to content

Commit

Permalink
Merge pull request #455 from DataDog/tyler/enable-integrations
Browse files Browse the repository at this point in the history
Enable netty by default
  • Loading branch information
tylerbenson committed Aug 23, 2018
2 parents 36b49c7 + 69c04ea commit 5a62159
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 @@ -43,11 +43,6 @@ public NettyChannelPipelineInstrumentation() {
super("netty", "netty-4.0");
}

@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 @@ -17,9 +17,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 @@ -43,11 +43,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 @@ -18,9 +18,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 5a62159

Please sign in to comment.