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
Owner

Summary

  • Fixed borgmatic-metrics script failing in LaunchAgent context
  • Changed from mise x -- borg to absolute paths (/opt/homebrew/bin/borg, /opt/homebrew/bin/jq)
  • This fixes the Grafana dashboard showing "DOWN" for Repository Status and missing time series data

Deployment and Testing

  • Run mise run provision-indri -- --tags borgmatic-metrics to deploy the fix
  • Wait for the hourly metrics collection (or manually run ssh indri '~/bin/borgmatic-metrics')
  • Verify Grafana dashboard shows "UP" status and populated graphs

🤖 Generated with Claude Code

## Summary - Fixed borgmatic-metrics script failing in LaunchAgent context - Changed from `mise x -- borg` to absolute paths (`/opt/homebrew/bin/borg`, `/opt/homebrew/bin/jq`) - This fixes the Grafana dashboard showing "DOWN" for Repository Status and missing time series data ## Deployment and Testing - [x] Run `mise run provision-indri -- --tags borgmatic-metrics` to deploy the fix - [x] Wait for the hourly metrics collection (or manually run `ssh indri '~/bin/borgmatic-metrics'`) - [x] Verify Grafana dashboard shows "UP" status and populated graphs 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
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>
eblume merged commit 61dced048b into main 2026-01-18 14:57:36 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eblume/blumeops!28
No description provided.