![]() |
VOOZH | about |
To get started with Agent Observability, instrument your LLM application or agent(s) by choosing from several approaches based on your programming language and setup. Datadog provides comprehensive instrumentation options designed to capture detailed traces, metrics, and evaluations from your LLM applications and agents with minimal code changes.
You can instrument your application with the Python, Node.js, or Java SDKs, or by using the Agent Observability API.
Datadog provides native SDKs that offer the most comprehensive Agent Observability features:
| Language | SDK Available | Auto-Instrumentation | Custom Instrumentation |
|---|---|---|---|
| Python | Python 3.7+ | ||
| Node.js | Node.js 16+ | ||
| Java | Java 8+ |
To instrument an LLM application with the SDK:
Auto-instrumentation captures LLM calls for Python, Node.js, and Java applications without requiring code changes. It allows you to get out-of-the-box traces and observability into popular frameworks and providers. For additional details and a full list of supported frameworks and providers, see the Auto-instrumentation Documentation.
Auto-instrumentation automatically captures:
All supported SDKs provide advanced capabilities for custom instrumentation of your LLM applications in addition to auto-instrumentation, including:
To learn more, see the SDK Reference Documentation.
If your language is not supported by the SDKs or you are using custom integrations, you can instrument your application using Datadog’s HTTP API.
The API allows you to:
API endpoints:
POST https://api./api/intake/llm-obs/v1/trace/spansPOST https://api./api/intake/llm-obs/v2/eval-metricTo learn more, see the HTTP API Documentation.
Additional helpful documentation, links, and articles:
| |