[core] cosmetics
RENAME
dd-trace/src/main/resources/dd-trace-decorators.yaml
dd-java-agent/src/main/resources/dd-trace-decorators.yaml
RENAME
dd-trace/src/main/resources/dd-trace.yaml
dd-java-agent/src/main/resources/dd-trace.yaml
MODIFY
dd-trace/src/main/java/com/datadoghq/trace/DDSpanContext.java
dd-trace/src/main/java/com/datadoghq/trace/DDSpanContext.java
@@ -4,10 +4,9 @@ import com.datadoghq.trace.integration.AbstractDecorator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Maps;
import io.opentracing.tag.Tags;
-import lombok.extern.slf4j.Slf4j;
-
import java.util.*;
import java.util.concurrent.ConcurrentLinkedQueue;
+import lombok.extern.slf4j.Slf4j;
/**
* SpanContext represents Span state that must propagate to descendant Spans and across process

MODIFY
dd-trace/src/main/java/com/datadoghq/trace/integration/DBStatementAsResourceName.java
dd-trace/src/main/java/com/datadoghq/trace/integration/DBStatementAsResourceName.java
@@ -12,7 +12,6 @@ public class DBStatementAsResourceName extends AbstractDecorator {
this.setSetTag(DDTags.RESOURCE_NAME);
}
-
@Override
public boolean afterSetTag(final DDSpanContext context, final String tag, final Object value) {
//Assign service name

MODIFY
dd-trace/src/test/groovy/com/datadoghq/trace/integration/SpanDecoratorTest.groovy
dd-trace/src/test/groovy/com/datadoghq/trace/integration/SpanDecoratorTest.groovy
@@ -66,7 +66,7 @@ class SpanDecoratorTest extends Specification {
then:
span.getOperationName() == type + ".query"
- span.context().getSpanType() == "db"
+ span.context().getSpanType() == "sql"
where:
type = "foo"

[core] cosmetics