AgentOps · 2026
Production telemetry

Monitoring, logging & observability for MCP

Instrument the full agent task: from model reasoning and MCP tool calls through policy decisions and downstream systems: so reliability, cost, security, and quality are all visible.

AgentOps observability

Trace the task, not only the HTTP request

Production observability must connect user intent to model calls, tool calls, MCP servers, downstream APIs, policy decisions, retries, and the final business outcome.

User task
→
Agent span
→
Model span
→
Tool / MCP span
→
Downstream span
Four signal classes

Combine traces, metrics, logs, and evaluations

Traces

End-to-end execution tree: agent invocation, model calls, tool calls, retries, handoffs, approvals, downstream dependencies.

Metrics

Task completion, p50/p95/p99 latency, tool error rate, token usage, model calls, retries, cost per successful task.

Logs / audit

Security-relevant structured events: actor, tool, scope, policy decision, resource, result, version, correlation ID.

Evaluations

Quality signals: groundedness, task success, tool accuracy, policy adherence, human acceptance, red-team failures.

OpenTelemetry update

GenAI semantic conventions are becoming the shared vocabulary

OpenTelemetry conventions now cover GenAI model and agent operations, including token usage and tool execution. Use them as a portable base, then add domain-specific business metrics.

invoke_agent ├─ chat model=... input_tokens=... output_tokens=... ├─ execute_tool tool=customer_lookup latency_ms=... ├─ execute_tool tool=create_case policy=approved └─ task_outcome success=true business_value=...
Privacy: prompts, tool arguments, retrieved documents, and results can contain secrets or regulated data. Treat content capture as opt-in and apply retention, redaction, and access policies.
Dashboards and alerts

Alert on user impact and unsafe behavior, not just infrastructure

AreaUseful production signalsAlert examples
ReliabilityTask completion, tool errors, retries, task stalls, resume failuresCompletion drops below SLO; task stuck in input_required
Latencyp95 end-to-end, model latency, tool latency, queue timep95 task duration doubles
CostTokens, model calls, tool costs, cost per successful taskCost/success exceeds budget
SecurityDenied tools, scope failures, unusual destinations, approval bypassNew outbound domain or spike in denied actions
QualityTask success, groundedness, evaluator score, human overridesRegression after model/tool/prompt change

KNOBS turns observability into optimization

Monitoring tells you what happened. KNOBS adds evaluation and experimentation so you can compare models, prompts, tool definitions, retrieval strategies, policies, and workflows against real outcomes.