-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat: add LocalSpans::to_span_records() #185
Conversation
Signed-off-by: Andy Lok <[email protected]>
Signed-off-by: Andy Lok <[email protected]>
@dotansimha Does it work for your project? |
@andylokandy thank you for this PR! How would a usage of this configuration look like? I assume it might still need threads and a global collector that's being initialized? 🤔 I just created this PR: #186 , but it might be a too big of a change? |
Here is the example: minitrace-rust/minitrace/src/local/local_collector.rs Lines 188 to 224 in 0337d43
|
Signed-off-by: Andy Lok <[email protected]>
Pull Request Test Coverage Report for Build 7637141736
💛 - Coveralls |
Thanks @andylokandy ! I gave it a spin and it seems to fail at runtime: All I did so far it to add
I'm pretty sure this originates in |
One more thing that I noticed, and not sure how to confirm: seems like only spans created with EDIT: Seems like using |
Could you use SystemTime::now() on wasm target? You may also try
In a LocalCollector set up, |
I'm not able to use And |
Let's move the wasm discussion to #187 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I can confirm that with the fix in tikv/minstant#34 , this PR works great! |
Signed-off-by: Andy Lok <[email protected]>
Signed-off-by: Andy Lok <[email protected]>
Signed-off-by: Andy Lok [email protected]
Closes #184