We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0dccf4 commit 879a6e7Copy full SHA for 879a6e7
1 file changed
libdd-trace-stats/src/span_concentrator/aggregation.rs
@@ -206,7 +206,7 @@ impl<'a> BorrowedAggregationKey<'a> {
206
/// key.
207
pub(super) fn from_span<T: StatSpan<'a>>(span: &'a T, peer_tag_keys: &'a [String]) -> Self {
208
let span_kind = span.get_meta(TAG_SPANKIND).unwrap_or_default();
209
- let peer_tags = if has_peer_tags(span_kind) {
+ let peer_tags = if should_track_peer_tags(span_kind) {
210
// Parse the meta tags of the span and return a list of the peer tags based on the list
211
// of `peer_tag_keys`
212
peer_tag_keys
0 commit comments