Follow

@kawaiipunk Grafana gets it's data from Prometheus, which is configured to scrape various http endpoints for metrics data in a specific format.

I wrote a tiny http server git.pixie.town/f0x/backup-moni that gets scraped by prometheus. my borg units have a postCreate hook where they send all borg's data of the repo in json to that same server, which can then convert them into prometheus metrics

this setup also links into alertmanager, so I get notifications when a repository hasn't had a successful backup in 24 hours

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.