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
|
|
|
FROM python:3.12-slim
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
COPY requirements.txt .
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
COPY exporter.py .
|
2026-03-27 01:28:32 +00:00
|
|
|
ENV PYTHONUNBUFFERED=1
|
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
|
|
|
EXPOSE 9101
|
2026-03-27 01:28:32 +00:00
|
|
|
CMD ["python", "-u", "exporter.py"]
|