n4nAI

Topic

Agent Observability & Tracing

12 posts on agent observability & tracing — part of ai agents & automation on the n4n AI blog.

AI agents & automationAnalysis

Why agent logs alone aren't enough for observability

Logs capture what happened, but agent logs vs observability shows why multi-step LLM agents fail. Use tracing, metrics, and structured events.

3 min read
AI agents & automationGuide

Token-level tracing: seeing inside agent decisions

A practical guide to token-level tracing AI agents: capture per-token usage, attribute decisions, and rebuild agent reasoning paths with real code.

4 min read
AI agents & automationTutorial

Setting up alerts for AI agent failures in production

Learn how to build production alerts for AI agent failures with Prometheus, OpenTelemetry, and Slack. A hands-on tutorial for engineers running LLM agents.

3 min read
AI agents & automationGuide

OpenTelemetry for LLM agents: a practical guide

Practical OpenTelemetry LLM agents guide: trace agent runs, tool calls, token metrics, context propagation, and dodge common observability pitfalls.

3 min read
AI agents & automationGuide

Latency, cost, and errors: pillars of agent monitoring

A practical guide to agent monitoring latency cost errors: instrument traces, track spend, handle failures, and tradeoffs for production LLM systems.

4 min read
AI agents & automationHow-to

How to trace tool calls across a multi-step agent run

Learn how to trace tool calls AI agent runs end to end with structured logging, correlation IDs, and OpenAI-compatible gateways for debuggability.

3 min read
AI agents & automationHow-to

How to debug a failing AI agent with trace logs

Learn how to debug AI agent trace logs with practical steps: instrument spans, capture tool calls, and pinpoint failures in multi-step agent runs.

4 min read
AI agents & automationListicle

Five signals to monitor in production AI agents

Five operational signals to monitor production AI agents effectively: token latency per route, tool failure loops, context window use, cost per task, and semantic drift.

4 min read
AI agents & automationDefinition

What is AI agent observability and why it matters

AI agent observability definition explained: tracing LLM prompts, tool calls, and decisions to debug and operate autonomous agents in production.

4 min read
AI agents & automationComparison

LangSmith vs Langfuse: comparing agent tracing tools

A pragmatic engineering comparison of LangSmith vs Langfuse for agent tracing: capabilities, cost, latency, ergonomics, ecosystem, and limits.

5 min read
AI agents & automationHow-to

How to trace multi-agent workflows step by step

A practical guide to trace multi-agent workflows with OpenTelemetry and structured logging, from instrumenting agents to debugging cross-agent latency.

4 min read
AI agents & automationHow-to

How to build an observability stack for LLM agents

A practical step-by-step guide to building an observability stack for LLM agents: trace calls, capture token usage, and monitor failures.

3 min read