惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
T
Troy Hunt's Blog
L
Lohrmann on Cybersecurity
S
Schneier on Security
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
G
GRAHAM CLULEY
博客园 - 【当耐特】
有赞技术团队
有赞技术团队
SecWiki News
SecWiki News
博客园 - 叶小钗
博客园 - Franky
V
Vulnerabilities – Threatpost
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
O
OpenAI News
小众软件
小众软件
V
V2EX
N
News and Events Feed by Topic
T
The Exploit Database - CXSecurity.com
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
Project Zero
Project Zero
The Last Watchdog
The Last Watchdog
雷峰网
雷峰网
Google Online Security Blog
Google Online Security Blog
T
Tailwind CSS Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
量子位
D
Docker
Recent Announcements
Recent Announcements
T
Threat Research - Cisco Blogs
P
Privacy International News Feed
爱范儿
爱范儿
PCI Perspectives
PCI Perspectives
Jina AI
Jina AI
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Register - Security
The Register - Security
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
Cloudbric
Cloudbric
S
Security Affairs
F
Fortinet All Blogs

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Securing customer logins with breach intelligence Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Building reliable dashboard agents with Datadog LLM Observability
2026-01-16 · via Datadog | The Monitor blog

This article is part of our series on how Datadog’s engineering teams use LLM Observability to iterate, evaluate, and ship AI-powered agents. In this first story, the Graphing AI team shares how they instrumented their widget- and dashboard-generation agents with LLM Observability to detect regressions and debug failures faster.

Visibility into how large language model (LLM) applications behave in real time is essential for building reliable AI-driven systems at Datadog. Within our Graphing AI team, engineers are collaborating on two core agents that turn natural language into Datadog visualizations.

The widget agent takes user prompts such as “show average CPU utilization over time for production hosts” and converts them into valid widget JSON definitions. The dashboard agent extends that functionality to compose entire dashboards from multiple widgets. Together, these agents make Datadog dashboards more accessible by letting users describe what they want to see instead of writing queries manually.

In this post, we’ll describe how our Graphing AI team uses Datadog LLM Observability to debug and understand agentic behavior, measure semantic and functional accuracy across model versions, and automate evaluation and structured testing at scale with the Experiments feature.

Challenges in building reliable AI agents

Before instrumenting with LLM Observability, our evaluation process was largely manual. Each agent invocation involves multiple LLM calls and downstream tool executions that depend on one another. When a widget failed to render correctly, we had little visibility into whether the issue came from the prompt, a model response, or a downstream service call.

For example, the dashboard agent orchestrates a sequence of LLM completions: One to decompose the user request into component widgets, one to generate each widget definition, and several to call tools that fetch metric metadata. Failures in these chains rarely threw explicit exceptions. Instead, we would see malformed widget JSON or incomplete dashboards without clear signals as to where the fault occurred. We needed a way to trace the entire prompt and tool call sequence, evaluate semantic quality programmatically, and compare model and prompt versions objectively.

Instrumenting agents for LLM Observability

To achieve full transparency, we instrumented both the widget agent and dashboard agent using LLM Observability. We added LLM Observability’s SDK calls within each agent chain to record the life cycle of every LLM interaction and tool execution. Each trace now includes:

  • The raw user prompt and the system prompt used to seed context
  • All intermediate LLM completions (e.g., widget schema generation and dashboard composition)
  • Tool invocation inputs and outputs, including authentication results and response payloads
  • Metadata such as latency, token counts, and cost estimates

These traces are collected and visualized within Datadog, letting us see the full call graph of an agent execution. By following Datadog’s public documentation and adding the SDK initialization to our evaluation scripts, we began streaming traces within a few hours.

Tracing agent behavior to debug and understand complex chains

Once traces were captured, they immediately became our primary debugging tool. During one incident, we noticed that generated dashboards were missing several widgets. There were no errors thrown, but examining the trace revealed that multiple tool calls to our metrics service were returning HTTP 401 responses. The trace identified the exact service endpoint and authentication context that failed, and updating the service credentials resolved the issue.

A screenshot showing a trace examination with an HTTP 401 error.

With LLM Observability’s cross-cutting context between agent logic and the services it depends on, we no longer have to guess whether a degraded result stems from prompt quality, model behavior, or infrastructure issues. Each trace correlates prompt text, tool responses, and latency data in one view, allowing us to distinguish between model and non-model issues.

Evaluating the semantic quality and performance of our agents

With tracing in place, we built a reproducible offline evaluation pipeline to measure semantic and functional accuracy. Our evaluation dataset consists of input-output pairs where the input is a user prompt describing a desired visualization or dashboard, and the expected output is one or more canonical widget JSON definitions validated by Datadog engineers.

Each test case undergoes two types of checks: programmatic validations and LLM-as-a-judge evaluations. Programmatic validations are deterministic checks implemented in Python. We verify that the generated JSON conforms to Datadog’s schema, that required fields (for example, definition.requests.queries.metric) are present, and that any metric referenced in the input prompt appears in the resulting query.

LLM-as-a-judge evaluations are semantic comparisons performed by another model using an evaluation rubric. The judge receives structured inputs that include the user’s prompt, expected criteria or examples, and the agent’s output. The rubric evaluates three dimensions: correctness, quality, and completeness. It instructs the model to analyze the agent’s output against the user request, compare it with the expected outcome, and assess both technical accuracy and overall usefulness. Final scores are discrete values of 0.5 or 1. Even if the generated JSON does not match the reference exactly, the judge passes it if it meets the user’s intent. For example, a valid alternative visualization type or query ordering is not penalized.

We keep the scoring system intentionally binary for stability:

  • Quality score: 1 for pass, 0.5 for uncertain
  • A/B score: 1 if the current version outperforms the previous iteration, 0.5 if they tie

This convention makes evaluations easy to interpret and avoids overfitting to noisy model judgments.

Experimenting with model and prompt configurations

We integrated our evaluation pipeline with LLM Observability’s Experiments feature to automate result tracking and visualization. A lightweight internal service runs evaluations on every code push to staging and production. The service collects results from both the programmatic and LLM-as-a-judge evaluations and publishes them to Experiments, which aggregates scores across datasets and versions.

During one deployment, Experiments reported multiple test cases returning NaN quality scores. This issue traced back to a serialization bug introduced in a recent commit. Because the results were automatically reported, we identified and reverted the change within minutes.

Today, our Experiments dashboards provide a continuous view of model performance. We can visualize aggregate scores, drill into failing cases, and compare outputs across prompt or model versions. The dataset continues to expand as we add new test cases that cover additional dashboard types and configurations.

A screenshot showing a widget experiment with summary of evaluations and record of queries.

Currently, our agents use OpenAI models accessed through Datadog’s AI proxy. OpenAI’s structured output mode allows us to define strict JSON schemas for both widget and dashboard definitions. These structured responses make it easier to run programmatic checks and help downstream components consume results without post-processing.

Experiments also help us see when our prompts or evaluations need improvement. If the same test keeps failing across several runs, it usually means the problem isn’t with the model but with the test itself or how the judge is scoring it. Looking across experiments makes these patterns easy to spot and helps us adjust our prompts, expected outputs, or evaluation setup.

A screenshot showing a comparison of different experiments.

As we refine our prompts, we use Experiments to run controlled comparisons between different system prompt templates and context window configurations to understand which options produce more accurate dashboards with fewer tokens and lower latency.

What’s next: Expanding to other model providers and future projects

The next phase of our experimentation will include evaluating Anthropic Claude models alongside OpenAI’s. We plan to reuse the same evaluation dataset and pipeline to measure each provider’s performance on identical tasks. Because LLM Observability integrates with multiple model providers through the AI proxy, we can instrument, trace, and evaluate both models without any additional setup.

This cross-model comparison will help us determine which model performs best for different evaluation dimensions—such as adherence to structured output, latency, and instruction-following precision—while maintaining a consistent measurement process. Having this unified view within Datadog helps ensure that model selection decisions are evidence-driven rather than anecdotal.

By combining LLM traces, structured evaluations, and automated experiments, our Graphing AI team has established a scalable framework for building reliable AI applications. The same observability patterns we use for LLM chains can apply to any agentic system that orchestrates models, tools, and APIs.

This workflow serves as the foundation for future projects that will bring LLM Observability into production. We plan to extend this framework by correlating online evaluations with Real User Monitoring (RUM) data, giving us the ability to measure real-world user experience metrics alongside model performance. To learn more about how LLM Observability can help you evaluate and ship AI applications, check out our documentation. Or if you’re new to Datadog, sign up for a 14-day free trial.