Fix borgmatic-metrics script PATH issue #28

Merged
eblume merged 2 commits from fix-borgmatic-metrics-path into main 2026-01-18 14:57:36 -08:00

2 commits

Author SHA1 Message Date
ea3fc88038 Fix borgmatic dashboard layout - move BSBS to bottom
Moved "Backup Size by Source" panel to the bottom row so it doesn't
push "Repository Disk Usage Over Time" down. Now the two time series
graphs sit side by side as intended.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 14:49:31 -08:00
34d9f2475e Fix borgmatic-metrics script to use absolute paths
The script was failing in LaunchAgent context because it used
`mise x -- borg` which isn't available without homebrew in PATH.
Changed to use absolute paths for borg and jq (/opt/homebrew/bin/).

This fixes the Grafana dashboard showing "DOWN" for Repository Status
and missing data points in the time series graphs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 14:44:46 -08:00