danihodovic / borg-exporter

Prometheus exporter for Borg backups.
MIT License
18 stars 6 forks source link

Add option to use multiple borg configs; Add a unique size metric #27

Closed R053NR07 closed 3 years ago

R053NR07 commented 3 years ago

This PR enables the borg-exporter to handle multiple configs. It also adds a new unique size metrics to detect "successful" backups which do not alter any data.

To run the exporter with multiple metrics you can pass multiple -c arguments: borg-exporter run -c /etc/borgmatic/a.yaml -c /etc/borgmatic/b.yaml

danihodovic commented 3 years ago

Looks good.

Re-released latest.

Thank you