{"repo":"fishgrimsby/borgmatic-exporter","free":true,"listed":false,"github":"https://github.com/fishgrimsby/borgmatic-exporter","clone":"git clone https://github.com/fishgrimsby/borgmatic-exporter.git","description":"A metrics exporter for Borgmatic backups written in Go that can be scraped by Prometheus.","language":"Go","stars":11,"topics":["backup","backups","borg","borgmatic","exporter","metrics","prometheus","go","golang"],"license":"MIT","category":"analytics","readme_excerpt":"borgmatic‑exporter A Prometheus exporter written in Go that exposes metrics collected from a Borgmatic installation. --- Metrics The exporter provides the following metrics per repository: Metric Description -------- ------------- borgmatic last backup timestamp Unix timestamp of the latest backup borgmatic original size Total size of the original data borgmatic compressed size Size after compression borgmatic deduplicated size Deduplicated size borgmatic unique chunks total Number of unique chunks borgmatic chunks total Total number of chunks borgmatic archives total Number of archives In addition, the following global metrics are exported: Metric Description -------- ------------- borgmatic info Installed Borgmatic version borg info Installed Borg version borgmatic repos total Number of repositories configured in Borgmatic Example output (Prometheus text format): --- How It Works The exporter uses a background collection model to keep the /metrics endpoint responsive: - Background Collection : Metrics are collected on a configurable interval (default: 60 minutes) in a background task. The first collection runs at startup. - Instant Response : When Prometheus scrapes /metrics , the exporter returns the cached data immediately, without waiting for slow borgmatic commands to execute. - Parallel Config Execution : When multiple Borgmatic config files are specified via CONFIG , they execute concurrently using goroutines instead of sequentially, significantly reducing total colle","default_branch":null,"files":null,"tree":[],"storefront":"/r/fishgrimsby","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fishgrimsby/borgmatic-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}