Observability Overview#
The 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.
Signal |
Best for |
Page |
|---|---|---|
Logging |
Debugging a single request with verbose console output, the |
|
Tracing |
Following a request through the rails it activated and the LLM calls it issued, with full OpenTelemetry semantic-convention support. |
|
Metrics |
Tracking aggregate behavior, including request volume, latency distributions, error rates, saturation, and per-LLM-call token usage for SLO dashboards and alerting. |
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.