Metric exporter for BorgBackup
Go to file
Valentin Doreau 381cf6b44b
chore: v0.2.0
2024-04-02 08:49:02 +02:00
.gitignore Initial commit 2024-04-01 17:02:29 +02:00
Makefile Initial commit 2024-04-01 17:02:29 +02:00
README.md Initial commit 2024-04-01 17:02:29 +02:00
go.mod Initial commit 2024-04-01 17:02:29 +02:00
go.sum Initial commit 2024-04-01 17:02:29 +02:00
info.go Initial commit 2024-04-01 17:02:29 +02:00
list.go Initial commit 2024-04-01 17:02:29 +02:00
main.go chore: v0.2.0 2024-04-02 08:49:02 +02:00
metrics.go feat: reset metrics on every iteration 2024-04-02 08:31:26 +02:00

README.md

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