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

Feature request: allow to use minitrace without global collector #184

Closed
andylokandy opened this issue Jan 23, 2024 · 0 comments · Fixed by #185
Closed

Feature request: allow to use minitrace without global collector #184

andylokandy opened this issue Jan 23, 2024 · 0 comments · Fixed by #185

Comments

@andylokandy
Copy link
Collaborator

andylokandy commented Jan 23, 2024

Yeah, that makes perfect sense when compiling and running on a binary with a long-living session.
In our use case, we are building WASM for CloudFlare Worker, where every incoming request has a short-living session. So tracing should start when a request is initiated, and flush the traces when request handling is done.

We can't really use threads, so we want to collect spans in memory, and flush them at the end of the request.

Originally posted by @dotansimha in #179 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant