1. Event contract
One row in agent_run_outcomes, with the types used by the query made explicit.
- timestamp_utc
- Timestamp
- workflow
- Utf8
- model
- Utf8
- status
- Utf8
- reviewer_outcome
- Utf8
- human_handoff
- Boolean
Capture compact events at agent, tool, model, and outcome boundaries, then use inspectable SQL to connect reliability and cost with the result a user or business workflow received.
Outcomes
How it works
Choose one row per completed agent run or business operation. Record status, duration, workflow, release, handoff, cost, and a safe correlation identifier.
Log tool and model request events when they answer a known reliability, cost, or quality question. Do not copy entire traces or sensitive payloads.
Record acceptance, human review, task success, or another explicit product outcome, then compare releases with reviewed SQL and complete denominators.

AI agent outcome events in Telemetry
An actual Telemetry workspace showing the event tables and SQL surface used to inspect agent runs, tool calls, and terminal outcomes.
Boundaries
Inspectable proof path
This example uses a declared schema, read-only SQL, and deterministic synthetic results. It demonstrates the workflow without presenting sample data as a customer benchmark.
One row in agent_run_outcomes, with the types used by the query made explicit.
Which agent workflows finish successfully and produce accepted outcomes?
SELECT
workflow,
model,
COUNT(*) AS runs,
100.0 * SUM(CASE WHEN status = 'success' THEN 1 ELSE 0 END)
/ NULLIF(COUNT(*), 0) AS technical_success_rate_pct,
100.0 * SUM(CASE WHEN reviewer_outcome = 'accepted' THEN 1 ELSE 0 END)
/ NULLIF(SUM(CASE
WHEN reviewer_outcome <> 'not_reviewed' THEN 1 ELSE 0
END), 0) AS reviewed_acceptance_rate_pct,
100.0 * SUM(CASE WHEN human_handoff THEN 1 ELSE 0 END)
/ NULLIF(COUNT(*), 0) AS human_handoff_rate_pct,
AVG(duration_ms) AS average_duration_ms,
SUM(estimated_cost_usd) / NULLIF(COUNT(*), 0) AS cost_per_run_usd
FROM agent_run_outcomes
WHERE timestamp_utc >= now() - INTERVAL '30 days'
GROUP BY workflow, model
HAVING COUNT(*) >= 20
ORDER BY reviewed_acceptance_rate_pct, runs DESC;Refund review completes technically but needs substantially more revision or human takeover than the other workflows.
| workflow | model | runs |
|---|---|---|
| support_triage | configured-model-a | 1840 |
| refund_review | configured-model-b | 620 |
| knowledge_draft | configured-model-a | 940 |
Capabilities
Agent-specific setup paths
Each guide carries the same reviewed telemetry boundaries into a focused Claude Code, Cursor, or Codex implementation path.
Give Claude Code a prompt that makes telemetry part of the implementation pass instead of a separate cleanup project.
Open setup guideA copyable setup prompt for adding event tables, funnel tracking, and dashboards from inside Cursor.
Open setup guideA focused prompt that asks Codex to instrument the rest of the product, verify events, and summarize coverage gaps.
Open setup guideSee the analysis
Compare agent task success, reviewer acceptance, cost, latency, and human-handoff rate by workflow and model.
Open recipeReconstruct ordered cross-service workflow steps and elapsed time from a shared workflow identifier.
Open recipeFind agent runs that repeatedly call a small set of tools without reaching a successful outcome.
Open recipeConnect model spend to accepted, saved, or otherwise useful product outcomes.
Open recipeAttribute model spend, tokens, request volume, and cost per request to product features.
Open recipeFilter dotted nested fields and rank failing tools without flattening the original event payload.
Open recipeCustomer evidence
Related capabilities
AI-assisted analysis
Structured event ingestion
SQL workbench and Query API
Use a focused prompt, send synthetic events, and verify the first useful query before expanding coverage.