Decorators use the default service name if unassigned
MODIFY
src/main/java/com/datadoghq/trace/integration/DBServiceDecorator.java
src/main/java/com/datadoghq/trace/integration/DBServiceDecorator.java
@@ -31,8 +31,6 @@ public class DBServiceDecorator implements DDSpanContextDecorator {
if(tag.equals(Tags.COMPONENT.getKey()) && value.equals(componentName)){
if(desiredServiceName != null){
context.setServiceName(desiredServiceName);
- }else{
- context.setServiceName(componentName);
}
//Assign span type to DB

MODIFY
src/main/java/com/datadoghq/trace/integration/HTTPServiceDecorator.java
src/main/java/com/datadoghq/trace/integration/HTTPServiceDecorator.java
@@ -35,8 +35,6 @@ public class HTTPServiceDecorator implements DDSpanContextDecorator {
if(tag.equals(Tags.COMPONENT.getKey()) && value.equals(componentName)){
if(desiredServiceName != null){
context.setServiceName(desiredServiceName);
- }else{
- context.setServiceName(componentName);
}
//Assign span type to WEB

Decorators use the default service name if unassigned