docs icon indicating copy to clipboard operation
docs copied to clipboard

Add Borg exporter

Open danihodovic opened this issue 4 years ago • 3 comments

Provides data on Borg backups.

https://github.com/danihodovic/borg-exporter/

danihodovic avatar May 26 '21 12:05 danihodovic

Thanks for this! Could you sign the DCO and add sample output from your exporter, please?

RichiH avatar Jul 13 '21 12:07 RichiH

It provides the following metrics:

Name Description Type
borg_backups_total Total number of Borg backups Gauge
borg_last_backup_timestamp Timestamp of the last backup Gauge

danihodovic avatar Jul 13 '21 14:07 danihodovic

Thanks!

borg_backups_total should be a counter. Does borg_last_backup_timestamp discern between successful and failed backups? It would be more customary to use borg_last_backup_[success_]timestamp_seconds for the metric name.

RichiH avatar Jul 19 '21 11:07 RichiH