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

Metric Persistance #514

Open
ozwaldorf opened this issue Feb 8, 2024 · 0 comments
Open

Metric Persistance #514

ozwaldorf opened this issue Feb 8, 2024 · 0 comments

Comments

@ozwaldorf
Copy link

ozwaldorf commented Feb 8, 2024

It'd be neat to be able to have the option to persist the metric state to disk and be able to restore from it on startup, in the event a rust binary is restarted (catching ctrl-c/sigint) or crashes (custom panic hook). Storing the text encoding to disk can work, but there needs to be a way to decode and restore data from the text file. An incremental db approach could also work but I think it'd need more plumbing to be able to hook into when metrics are updated.

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

No branches or pull requests

1 participant