We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed76fc2 commit f8a1a26Copy full SHA for f8a1a26
tracer/src/Datadog.Trace/Agent/StatsAggregator.cs
@@ -220,7 +220,7 @@ public SpanCollection ProcessTrace(in SpanCollection trace)
220
}
221
222
public StatsAggregationKey BuildKey(Span span, out List<byte[]> utf8PeerTags)
223
- => BuildKey(span, _peerTagKeys, out utf8PeerTags);
+ => BuildKey(span, Volatile.Read(ref _peerTagKeys), out utf8PeerTags);
224
225
internal StatsAggregationKey BuildKey(Span span, List<string> peerTagKeys, out List<byte[]> utf8PeerTags)
226
{
0 commit comments