Prometheus exporter for Backblaze B2 that exposes various metrics for buckets and paths
2.7K
A lightweight Prometheus exporter for Backblaze B2 that provides metrics about bucket contents, including:
The exporter supports monitoring multiple buckets and paths and uses a background collection thread to periodically fetch data from the Backblaze API. This design ensures that Prometheus scrapes are fast and do not trigger expensive API calls.
docker run -d -p 52000:52000 \
-v $(pwd)/b2_api_key:/backblaze_exporter/api_key:ro \
-e B2_APPLICATION_KEY_ID=yourkeyid \
-e B2_APPLICATION_KEY_FILE=/backblaze_exporter/api_key \
-e B2_BUCKETS_CONFIG='{"my-bucket": ["path/to/check"]}' \
t0mmili/backblaze-prometheus-exporter
Metrics will be available at:
http://localhost:52000/metrics
Content type
Image
Digest
sha256:1f969f9ac…
Size
19.2 MB
Last updated
8 months ago
docker pull t0mmili/backblaze-prometheus-exporter