Skip to content

What is the significance of creating span::Id to determine if they are the same? #3133

Answered by mladedav
rain2307 asked this question in Q&A
Discussion options

You must be logged in to vote

If you're writing a collector, you can assign IDs like that if you want to.

The registry in tracing itself doesn't do that because it reuses IDs for performance reasons.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rain2307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants