Skip to content

Usage

What it answers: how current was the context, how much context did the agent hand to the model, and how complete is the instrumentation?

The page has a range (all time by default) and an agent filter. Every figure is a count over a count. A figure whose signals are missing is hidden behind a line that says which signal is missing (“Retrieval metrics: this environment … · 2 metrics hidden”), never shown as 0.

“Chunks whose source had changed or was deleted when the agent got them, over chunks with a known source state.” Next to it: Known state, Ambiguous and Sources checked. It links to the conversations with stale context. See Lineage. Needs S4 and S10: retrieval and ingestion spans.

The chunks that a retrieval gave to the model in the range, counted once per turn. The card says what the model was given, not what it did with it (Context delivered). The bar is the share of turns that were given at least one chunk, and the (i) says how it is counted. It links to Documents.

Below the card:

  • Turns by chunks delivered: how many turns got 0, 1, 2-3, 4-6 or 7 or more chunks.
  • Documents delivered most: the documents (ctxflow.source_id) whose chunks were delivered most, with the number of turns. Each row opens the conversations that were given a chunk of it.

Needs S4: retrieval spans with ids. It does not need text.

The omission kinds with their count (items) and a bar with the share of conversations that have them. A turn that used tools but no retrieval is not counted under Missing retrieval.

Card Metric
Retrievals with IDs M3 (see the metrics list): retrieval calls that returned items with an id
Tool calls linked M4: tool calls seen by the server tied to a user and a conversation
Turns rebuilt M5: turns whose remote calls all have a server twin and whose items are all resolved

Low values point at instrumentation to fix, not at agent behaviour. M5 also measures calls to MCP servers whose client side is traced (mcp 2.x): see MCP.

  • Concepts: metrics, lineage.
  • API: GET /api/environments/<environmentId>/metrics and .../omissions/summary (HTTP API).