Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(iroh-net): Do not add the NodeId in the magicsock span field #2679

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions iroh-net/src/magicsock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ impl MagicSock {
}

/// Triggers an address discovery. The provided why string is for debug logging only.
#[instrument(skip_all, fields(me = %self.me))]
#[instrument(skip_all)]
fn re_stun(&self, why: &'static str) {
debug!("re_stun: {}", why);
inc!(MagicsockMetrics, re_stun_calls);
Expand Down Expand Up @@ -1371,8 +1371,8 @@ impl Handle {
);
}

Self::with_name(me.clone(), opts)
.instrument(error_span!("magicsock", %me))
Self::with_name(me, opts)
.instrument(error_span!("magicsock"))
.await
}

Expand Down
Loading