Why does Metrics show "cannot be measured" for an agent? #
Metrics shows "cannot be measured" instead of zero, with the reason, when it cannot match a usage record to a pane reliably. This happens when several panes of the same CLI are open in the same folder, when no record exists, or when the record format is not recognized. Usage is measured per agent, and matching a record to a pane involves no guessing; cost is an estimate, tokens multiplied by a per-model price.
See also: TroubleshootingAgent integration over MCP: Claude Code, Codex and Gemini