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

Export all the traces to file #145

Closed
jasond-s opened this issue Jul 10, 2024 · 2 comments · Fixed by #157
Closed

Export all the traces to file #145

jasond-s opened this issue Jul 10, 2024 · 2 comments · Fixed by #157
Assignees
Milestone

Comments

@jasond-s
Copy link

The viewer is really handy I love it.

One of the massive perks of having all your traces go to a vendor is the deeper analysis tools that they give you. I am not suggesting this project implements that, but it would be handy to have a simple way of dumping all the traces to a file so that you can analyse the data in other tools.

Admittedly I could maybe have the collector, or the app for that matter, dump the traces to a file, but I am lazy, and I want a button in a tool. I am running this during benchmarking and property-based testing with generated test input and so I have many traces for the same activity I want to grok.

@banksean
Copy link

I want this too.

I hacked up something to do this for my own needs: #155 Saves the in-memory duckdb to disk so you can query it using duckdb cli, or whatever other tools can read those files.

Kudos to @CtrlSpice for integrating duckdb already! - The first thing I thought when I initially tried this viewer out was "omg I want duckdb support so I can run aggregate queries on this trace data" so I was very happy to see it's already in there - opens up a ton of new possibilities.

@CtrlSpice
Copy link
Owner

Hey @banksean I just wanted to thank you for the contribution! The only reason I didn't merge it directly is because I am very not on top of things lately, and was a ways into trying to implement the same thing before I saw the PR 😅 but it was really helpful and got me unblocked. Thank you so much!

Hopefully I can pester my partner into reviewing my code so the feature can go in tonight!

@CtrlSpice CtrlSpice self-assigned this Nov 28, 2024
@CtrlSpice CtrlSpice added this to the 2.0 release milestone Nov 28, 2024
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.

3 participants