Skip to content

Commit d64fe04

Browse files
committed
CSS: Aggregate peer tags for consumer span kind
1 parent d434107 commit d64fe04

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)