Skip to content

[NEW] Prometheus Backup Plugin #632

@thomasmitchell

Description

@thomasmitchell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    evalFeature requests awaiting for assessment.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions