Skip to content

Commit af70fb0

Browse files
committed
remove unnecessary code
1 parent 7c51d97 commit af70fb0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

dd-trace-core/src/main/java/datadog/trace/common/metrics/ConflatingMetricsAggregator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import static datadog.trace.api.DDSpanTypes.RPC;
55
import static datadog.trace.bootstrap.instrumentation.api.Tags.HTTP_ENDPOINT;
66
import static datadog.trace.bootstrap.instrumentation.api.Tags.HTTP_METHOD;
7-
import static datadog.trace.bootstrap.instrumentation.api.Tags.HTTP_ROUTE;
87
import static datadog.trace.bootstrap.instrumentation.api.Tags.SPAN_KIND;
98
import static datadog.trace.common.metrics.AggregateEntry.ERROR_TAG;
109
import static datadog.trace.common.metrics.AggregateEntry.TOP_LEVEL_TAG;
@@ -347,7 +346,6 @@ private boolean publish(CoreSpan<?> span, boolean isTopLevel) {
347346
Object httpMethodObj = span.unsafeGetTag(HTTP_METHOD);
348347
httpMethod = httpMethodObj != null ? httpMethodObj.toString() : null;
349348
Object httpEndpointObj = span.unsafeGetTag(HTTP_ENDPOINT);
350-
httpEndpointObj = httpEndpointObj != null ? httpEndpointObj : span.unsafeGetTag(HTTP_ROUTE);
351349
httpEndpoint = httpEndpointObj != null ? httpEndpointObj.toString() : null;
352350
}
353351

0 commit comments

Comments
 (0)