The MCP server, the UI and each CLI command are separate processes. Counters such as
memo_mcp_tool_calls_total live in the memory of the process that served the calls:
A server process exists only while its client session is open. Its counters start at
zero with each session. Scrape it while it runs; Prometheus rate() handles the resets.
The UI has its own counters, mostly memo_ui_*. Like every process, it also serves the
memo_kb_* gauges, which are read from the file.
History across sessions comes from the file: memo-mcp metrics (with MEMO_QUERY_LOG=1)
and the memo_kb_* gauges.