feat(metrics): RSS worker LLM token usage on /metrics (6.9.1) #14
No reviewers
Labels
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tim/omnimem!14
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/usage-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
meta:usage:<call>hashes in Valkey (summary,extract,score): calls, input, cache_read, cache_creation, output. Cumulative, sorate()works across restarts./metricsexposesomnimem_llm_calls_total{call}andomnimem_llm_tokens_total{call,kind}(same gauge-from-Valkey pattern as the tool metrics, subject toMETRICS_CACHE_TTL).scripts/summary_thinking_compare.pydisables the sink so comparisons do not pollute production counters.docs/configuration.md.Notes
rate(omnimem_llm_tokens_total{kind="output"}[1h])bycall; cache hit ratio fromcache_readvsinput.Local checks (run before push)
ruff check and format --check clean, ASCII grep clean,
cd mcp_server && pytest tests: 2008 passed, 1 skipped.🤖 Generated with Claude Code