-
What negative impacts could arise if I create an infinitely incrementing ID? tracing/tracing-core/src/collect.rs Line 257 in 91fedc1 |
Beta Was this translation helpful? Give feedback.
Answered by
mladedav
Nov 5, 2024
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rain2307
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.