feat(mars): honcho-console phase 3 — metrics, stage models, spend

Honcho now exports Prometheus metrics (METRICS_ENABLED) for the
console's token, cost and latency views. The console prices each stage
with the models read from honcho-api's own environment, and reads
Honcho's OpenRouter key as a systemd credential for actual spend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 23:54:48 +02:00
co-authored by Claude Opus 5.5
parent 8886b9a2b5
commit c13a0093c3
3 changed files with 25 additions and 5 deletions
Generated
+4 -4
View File
@@ -163,11 +163,11 @@
]
},
"locked": {
"lastModified": 1790976022,
"narHash": "sha256-e0Sd421oXTLc/wexJV67+6ZohJFN094JIUwWRe8aHFc=",
"lastModified": 1790978027,
"narHash": "sha256-vh99ByvfTONYlISdvOht5nznEAu9rIKHIqVvmxGgZos=",
"ref": "refs/heads/master",
"rev": "7080b5615b8845e1a87b8b08af9af77f45c21a23",
"revCount": 4,
"rev": "b275d3d0d9e9df998af9d153c7431b7be5047531",
"revCount": 9,
"type": "git",
"url": "ssh://gitea@git.mgaction.town:2222/darman/honcho-console.git"
},