Skip to content

Commit 7224c81

Browse files
authored
CSS: Aggregate peer tags for consumer span kind (#9442)
1 parent d434107 commit 7224c81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public final class ConflatingMetricsAggregator implements MetricsAggregator, Eve
8585
SPAN_KIND_SERVER, SPAN_KIND_CLIENT, SPAN_KIND_CONSUMER, SPAN_KIND_PRODUCER)));
8686

8787
private static final Set<String> ELIGIBLE_SPAN_KINDS_FOR_PEER_AGGREGATION =
88-
unmodifiableSet(new HashSet<>(Arrays.asList(SPAN_KIND_CLIENT, SPAN_KIND_PRODUCER)));
88+
unmodifiableSet(
89+
new HashSet<>(Arrays.asList(SPAN_KIND_CLIENT, SPAN_KIND_PRODUCER, SPAN_KIND_CONSUMER)));
8990

9091
private final Set<String> ignoredResources;
9192
private final Queue<Batch> batchPool;

0 commit comments

Comments
 (0)