Skip to navigation

Observability Overview

View as MarkdownOpen in Claude

The NVIDIA NeMo Guardrails library exposes three observability signals so you can debug locally during development and monitor behavior in production: logs, traces, and metrics. Each signal targets a different question and can be enabled independently of the others.

SignalBest ForPage
LoggingDebugging a single request with verbose console output, the explain() method, and the log generation option for structured per-request data.Logging
TracingFollowing a request through the rails it activated and the LLM calls it issued, with full OpenTelemetry semantic-convention support.Tracing
MetricsTracking aggregate behavior, including request volume, latency distributions, error rates, saturation, and per-LLM-call token usage for SLO dashboards and alerting.Metrics

Tracing and metrics use the OpenTelemetry library-instrumentation pattern: the NVIDIA NeMo Guardrails library depends on the OpenTelemetry API only, and the host application configures the SDK providers, exporters, and processors.