The MCP server, the UI and each CLI command are separate processes. Counters such as
memors_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 memors_ui_*. Like every process, it also serves the
memors_kb_* gauges, which are read from the file.
History across sessions comes from the file: memors-mcp metrics (with MEMORS_QUERY_LOG=1)
and the memors_kb_* gauges.