prometheus-borg-exporter/README.md

1.1 KiB

Prometheus Borg(Backup) exporter

Simple Prometheus exporter for BorgBackup.

Rewritten in go from https://code.recycled.cloud/RecycledCloud/prometheus-borgbackup-exporter.
It has been rewritten mainly to enable building a static binary but also to support ipv6. Additional features have also been added like last_archive_time.

Building

To build, you'll need at least the go toolchain installed. On Ubuntu you can generally have the latest version by running:

snap install go --classic

Then run:

go build

Note this executable is dynamically linked and not stripped.

Static executable

To build a static executable, you'll need make installed. You can then simply run:

make