- 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
24 lines
672 B
YAML
24 lines
672 B
YAML
# Timmy Prometheus — Sovereign Metrics Collection
|
|
global:
|
|
scrape_interval: 30s
|
|
evaluation_interval: 30s
|
|
|
|
scrape_configs:
|
|
# Timmy's custom exporter (Gitea, Huey, heartbeat, sovereignty)
|
|
- job_name: "timmy-exporter"
|
|
static_configs:
|
|
- targets: ["exporter:9101"]
|
|
scrape_interval: 30s
|
|
|
|
# Prometheus self-monitoring
|
|
- job_name: "prometheus"
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
# Ollama metrics (if exposed — ollama serves on host network)
|
|
# Uncomment once Ollama is confirmed running with metrics
|
|
# - job_name: "ollama"
|
|
# static_configs:
|
|
# - targets: ["host.docker.internal:11434"]
|
|
# metrics_path: /metrics
|