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

Flush data #7

Open
soehrl opened this issue Nov 13, 2024 · 0 comments
Open

Flush data #7

soehrl opened this issue Nov 13, 2024 · 0 comments
Labels
crate: recorder Issues with the tracing-tape-recorder crate enhancement New feature or request

Comments

@soehrl
Copy link
Owner

soehrl commented Nov 13, 2024

Currently, data is only flushed to disk when a chapter is full. This can lead to missing data at the end of the trace. Data should be automatically flushed when the layer is dropped and the layer should provide a way to flush data manually, as it is not dropped at all when the subscriber is set using set_global_default.

@soehrl soehrl added enhancement New feature or request crate: recorder Issues with the tracing-tape-recorder crate labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: recorder Issues with the tracing-tape-recorder crate enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant