Commit Graph

7 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
perplexity
45060f0e82 Fix: add PYTHONUNBUFFERED=1 so docker logs shows output immediately 2026-03-27 01:28:32 +00:00
perplexity
1a800d0c7b Fix: volume mount tilde expansion, PR counting bug, startup diagnostics
- docker-compose: use ${HOME}/.timmy instead of ~/.timmy (Docker doesn't expand tilde)
- exporter: start HTTP server BEFORE first collection (so /metrics is always available)
- exporter: add startup diagnostics (data dir check, Gitea reachability)
- exporter: fix agent PR counting that would crash on _value access
2026-03-27 01:26:48 +00:00
perplexity
7969842132 Sovereign telemetry stack: Prometheus + Grafana + exporter
- Docker Compose with 3 containers (prometheus, grafana, exporter)
- Custom Python exporter reads Gitea API, heartbeat JSONL, inference metrics, model health
- Sovereignty score: 7 dimensions, weighted composite (0-100)
- Top 5 common sense metrics: commit velocity, issues/PRs, heartbeat, inference, model health
- Grafana auto-provisioned with 'Timmy Sovereign Command' dashboard
- Grafana on :3033, Prometheus on :9090, Exporter on :9101

Refs: #590, #594
2026-03-27 01:19:13 +00:00