Agno Monitoring and Observability with OpenTelemetry SigNoz has released a guide for setting up monitoring and observability for Agno AI agents using OpenTelemetry, enabling developers to export logs, traces, and metrics to the SigNoz platform. The integration provides real-time visibility into latency, error rates, and usage trends across agent workflows, with support for both auto-instrumentation for quick setup and manual instrumentation for fine-grained control. Overview This guide walks you through setting up monitoring and observability for Agno using OpenTelemetry https://opentelemetry.io/ and exporting logs, traces, and metrics to SigNoz. With this integration, you can observe the performance of various models, capture request/response details, and track system-level metrics in SigNoz, giving you real-time visibility into latency, error rates, and usage trends for your Agno applications. Instrumenting Agno in your AI applications with telemetry ensures full observability across your agent workflows, making it easier to debug issues, optimize performance, and understand user interactions. By leveraging SigNoz, you can analyze correlated traces, logs, and metrics in unified dashboards, configure alerts, and gain actionable insights to continuously improve reliability, responsiveness, and user experience. Prerequisites - A SigNoz Cloud account https://signoz.io/teams/ with an active ingestion key or Self Hosted SigNoz instance https://signoz.io/docs/install/self-host/ - Internet access to send telemetry data to SigNoz Cloud - Python 3.10+ with Agno installed - For Python: pip installed for managing Python packages Monitoring Agno No code auto-instrumentation is recommended for quick setup with minimal code changes. It's ideal when you want to get observability up and running without modifying your application code and are leveraging standard instrumentor libraries. Step 1: Install the necessary packages in your Python environment. pip install \ opentelemetry-distro \ opentelemetry-exporter-otlp \ httpx \ opentelemetry-instrumentation-httpx \ opentelemetry-instrumentation-system-metrics \ agno \ openinference-instrumentation-agno Step 2: Add Automatic Instrumentation opentelemetry-bootstrap --action=install Step 3: Create an example Agno agent workflow python import os from agno.agent import Agent from agno.models.openai import OpenAIChat from agno.tools.duckduckgo import DuckDuckGoTools Create and configure the agent agent = Agent name="Stock Market Agent", model=OpenAIChat id="gpt-4o-mini" , tools= DuckDuckGoTools , markdown=True, debug mode=True, Use the agent agent.print response "What is news on the stock market?" πŸ“Œ Note: Before running this code, ensure that you have set the environment variable OPENAI API KEY with your generated API key. Step 4: Run your application with auto-instrumentation Run your application with the following environment variables set. This configures OpenTelemetry to export traces, logs, and metrics to SigNoz Cloud and enables automatic log correlation: OTEL RESOURCE ATTRIBUTES="service.name=