Metric exporter for BorgBackup
Go to file
Valentin Doreau 61fbd2fedd
chore: v1.0.0
2024-04-21 15:26:19 +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
buffer.go fix: store new metrics in buffer before resetting 2024-04-21 15:22: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 feat: allow access to relocated repos 2024-04-03 08:13:42 +02:00
list.go feat: allow access to relocated repos 2024-04-03 08:13:42 +02:00
main.go chore: v1.0.0 2024-04-21 15:26:19 +02:00
metrics.go fix: store new metrics in buffer before resetting 2024-04-21 15:22:29 +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