Skip to content

Commit 879a6e7

Browse files
fix(stats): rename has_peer_tags
1 parent d0dccf4 commit 879a6e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libdd-trace-stats/src/span_concentrator/aggregation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ impl<'a> BorrowedAggregationKey<'a> {
206206
/// key.
207207
pub(super) fn from_span<T: StatSpan<'a>>(span: &'a T, peer_tag_keys: &'a [String]) -> Self {
208208
let span_kind = span.get_meta(TAG_SPANKIND).unwrap_or_default();
209-
let peer_tags = if has_peer_tags(span_kind) {
209+
let peer_tags = if should_track_peer_tags(span_kind) {
210210
// Parse the meta tags of the span and return a list of the peer tags based on the list
211211
// of `peer_tag_keys`
212212
peer_tag_keys

0 commit comments

Comments
 (0)