Merge pull request #524 from DataDog/mar-kolya/enable-akka-by-default

Enable akka instrumentation by default
This commit is contained in:
Nikolay Martynov 2018-10-02 10:38:25 -04:00 committed by GitHub
commit d3e7b75df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 16 deletions

View File

@ -42,11 +42,6 @@ public final class AkkaHttpClientInstrumentation extends Instrumenter.Default {
super("akka-http", "akka-http-client");
}
@Override
protected boolean defaultEnabled() {
return false;
}
@Override
public ElementMatcher<TypeDescription> typeMatcher() {
return named("akka.http.scaladsl.HttpExt");

View File

@ -40,11 +40,6 @@ public final class AkkaHttpServerInstrumentation extends Instrumenter.Default {
super("akka-http", "akka-http-server");
}
@Override
protected boolean defaultEnabled() {
return false;
}
@Override
public ElementMatcher<TypeDescription> typeMatcher() {
return named("akka.http.scaladsl.HttpExt");

View File

@ -22,9 +22,6 @@ import static datadog.trace.agent.test.asserts.ListWriterAssert.assertTraces
import static datadog.trace.agent.test.server.http.TestHttpServer.httpServer
class AkkaHttpClientInstrumentationTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.akka-http-client.enabled", "true")
}
private static final String MESSAGE = "an\nmultiline\nhttp\nresponse"
private static final long TIMEOUT = 10000L

View File

@ -9,9 +9,6 @@ import spock.lang.Shared
import static datadog.trace.agent.test.asserts.ListWriterAssert.assertTraces
class AkkaHttpServerInstrumentationTest extends AgentTestRunner {
static {
System.setProperty("dd.integration.akka-http-server.enabled", "true")
}
@Shared
int asyncPort