Commit Graph

5 Commits

Author SHA1 Message Date
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