4 Commits

Author SHA1 Message Date
perplexity
4fdf3a9bb3 Verified backfill: downloads promtool natively on Mac, tested end-to-end
- Downloads promtool 3.10.0 darwin-arm64 from GitHub releases
- Runs natively on Mac (not inside Docker — that was the bug)
- Creates TSDB blocks locally, copies into Prometheus volume via busybox
- Verified: 50 blocks created successfully from test run
- Added .gitignore for promtool binary
2026-03-27 01:45:50 +00:00
perplexity
f704446639 Fix: override entrypoint to run promtool (prom/prometheus image default entrypoint is prometheus, not sh) 2026-03-27 01:42:55 +00:00
perplexity
325d28b215 Fix backfill: correct OpenMetrics timestamps (seconds not ms), safer import
- Timestamps now in unix seconds as floats (promtool requirement)
- Values as explicit floats (1.0 not 1)
- Import script stops Prometheus, writes blocks to volume, restarts
- Verification step checks both current and Feb 5 historical data
2026-03-27 01:41:21 +00:00
perplexity
a8d10e0486 Add historical backfill: 1624 commits across 50 days (Feb 5 - Mar 26)
- backfill.txt: OpenMetrics format with daily snapshots
- backfill.sh: import script using promtool inside Prometheus container
- Metrics backfilled: commit velocity, agent activity, sovereignty score progression
- 1350 data points across 8 repos, 7 agents

Run: chmod +x backfill.sh && ./backfill.sh
2026-03-27 01:37:12 +00:00