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

[NEW] Prometheus Backup Plugin #632

Open
thomasmitchell opened this issue Oct 11, 2019 · 0 comments
Open

[NEW] Prometheus Backup Plugin #632

thomasmitchell opened this issue Oct 11, 2019 · 0 comments
Labels
eval Feature requests awaiting for assessment.

Comments

@thomasmitchell
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I want to back up Prometheus.

Describe the solution you'd like
The admin API of Prometheus has a snapshot endpoint that dumps an archive of the current data onto the box (similar to how Redis backups work).

https://prometheus.io/docs/prometheus/latest/querying/api/#snapshot

We should use that nice thing and make a plugin for it.

Describe alternatives you've considered

I could take a filesystem backup of TSDB, but Prometheus keeps putting data in there all the time for some reason and I can't take a temporally consistent snapshot with this method. I can't even guarantee that this doesn't generate a semantically-corrupted backup.

@thomasmitchell thomasmitchell added the eval Feature requests awaiting for assessment. label Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eval Feature requests awaiting for assessment.
Development

No branches or pull requests

1 participant