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

推荐订阅源

Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Application and Cybersecurity Blog
Application and Cybersecurity Blog
AWS News Blog
AWS News Blog
GbyAI
GbyAI
腾讯CDC
WordPress大学
WordPress大学
V
V2EX
小众软件
小众软件
C
CXSECURITY Database RSS Feed - CXSecurity.com
M
MIT News - Artificial intelligence
T
Troy Hunt's Blog
H
Hacker News: Front Page
Scott Helme
Scott Helme
The Hacker News
The Hacker News
Schneier on Security
Schneier on Security
K
Kaspersky official blog
S
Security @ Cisco Blogs
N
News | PayPal Newsroom
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Threatpost
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Martin Fowler
Martin Fowler
P
Privacy International News Feed
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
O
OpenAI News
P
Proofpoint News Feed
J
Java Code Geeks
B
Blog RSS Feed
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
阮一峰的网络日志
阮一峰的网络日志
P
Palo Alto Networks Blog
Engineering at Meta
Engineering at Meta
AI
AI
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
Simon Willison's Weblog
Simon Willison's Weblog
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
G
GRAHAM CLULEY
A
Arctic Wolf
N
Netflix TechBlog - Medium
L
LINUX DO - 最新话题
爱范儿
爱范儿
博客园 - 聂微东

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 Building reliable dashboard agents with Datadog LLM Observability 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 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
Gain end-to-end visibility into MCP clients with Datadog LLM Observability
2025-12-01 · via Datadog | The Monitor blog

As teams adopt the Model Context Protocol (MCP) to connect AI agents to external tools and data, understanding how MCP clients behave becomes critical for operating these systems in production. MCP clients, such as agents, gateways, and integrated development environments (IDEs), are responsible for discovering registries, initializing sessions, and invoking tools. These clients are also often where failures or latency surface first. Issues like sessions that never initialize, registries that grow too large to parse, and tool calls that time out or return errors typically originate or become visible at the client layer, even when the MCP server is hosted or managed elsewhere.

To help you observe and understand these client-side behaviors, Datadog LLM Observability now provides complete tracing and monitoring for MCP clients. Automatic instrumentation of the MCP Python client library captures every step—from session initialization to tool listing and invocation—as a span linked to the LLM trace that performed tool selection. With this visibility, your teams can trace client-side registry discovery, tool invocation behavior, and their contribution to overall latency and token usage.

In this post, we’ll show how you can use LLM Observability to:

Trace the MCP life cycle and pinpoint failures

LLM Observability provides visibility into the full MCP workflow from session setup and registry discovery to tool invocation. You can enable this tracing through the Datadog SDK’s automatic instrumentation, or you can instrument your MCP client manually if you need finer control over what is traced. Each phase is instrumented as an MCP span enriched with metadata such as server name and version, tool parameters, response payloads, and error codes. These spans are automatically linked to the parent LLM span that initiated the tool request, giving you a single trace that reflects the entire agent workflow.

Screenshot of a trace view showing an MCP tool call to an MCP server that the Budget Guru agent is using.

You can view each MCP interaction in sequence:

  • Session setup: Includes the initialize call and capability negotiation to confirm that the client can begin sending requests
  • Registry discovery: Uses the tools/list method to retrieve a catalog of available tools from the MCP server
  • Tool invocation: Initiates the call_tool method to use a specific tool for the parameters provided by the agent

If a request fails because of an issue such as a transport timeout, a malformed JSON-RPC call, or an authentication error, the trace highlights the failing span so that you can inspect the request and response payloads and the associated error messages. This level of detail makes it easy to distinguish between network-level issues and logic errors in tool schemas and registry definitions.

With this view of the full life cycle, you can quickly identify slow or unreliable MCP servers, track connection latency across environments, and correlate failures with specific tools or model prompts.

Measure how efficiently MCP clients and agents use MCP servers

Large registries can cause increased latency as LLMs parse tool descriptions during selection. LLM Observability now shows latency for MCP-related operations to help you assess the performance cost of registry bloat and inefficient selection logic.

Screenshot of a Datadog LLM Observability dashboard that shows MCP tool usage distribution, duration, and error count.

LLM Observability aggregates MCP span data to provide metrics such as:

  • Average and p95 latency for tools/list and call_tool calls
  • Error rates and retries per tool and MCP server
  • Tool count and selection duration across applications and agents

These insights enable engineers to compare the efficiency of MCP clients, identify tools that contribute to higher latency, and tune registry configurations.

Your teams can filter traces by MCP server name to visualize usage trends and correlate registry changes with LLM prompt performance. These views bring MCP activity into the same observability workflows that you already use, so you can analyze performance data in context rather than switching between separate tools.

Debug tool invocation errors and latency hotspots of agents that use MCP servers

When a tool call fails or runs slowly, Datadog traces expose the details that help you understand why. Each call_tool span includes structured metadata about the invoked tool, its parameters, and its response, along with the LLM context that triggered it.

The trace captures each operation of the MCP client and server life cycle: the initial model invocation, the LLM’s decision to call a tool, the client forwarding the JSON-RPC tool call to the server, the server executing the callable (or resource fetch) tools to return the result, and the LLM processing that result. Full visibility into this sequence helps you identify issues like registry-driven token usage, latency buildup, and errors. You can inspect JSON-RPC error codes, response payloads, and server logs directly within the span view.

A span details panel shows an MCP client tool call with corresponding input and output. An execution graph on the right shows the full agentic workflow.

LLM Observability automatically aggregates invocations and latency metrics by tool, so you can spot recurring failures or identify the slowest endpoints. You can also integrate this data into your existing Datadog dashboards and monitors to visualize MCP-specific reliability key performance indicators, such as tool error rates, p95 invocation latency, and timeout trends across environments.

Improve agent performance with MCP-aware observability

By tracing every MCP client interaction alongside LLM spans, LLM Observability provides comprehensive visibility into the reliability, cost contributors, and efficiency of AI agent workflows. Engineers can quantify how registry size, tool behavior, and server performance affect latency and token usage, and they can use this insight to refine registry configurations and optimize prompt logic. This understanding of the MCP client life cycle helps you resolve issues faster, reduce unnecessary tool invocations, and scale production workloads that rely on MCP integrations.

To learn more, check out the LLM Observability documentation for MCP client monitoring. If you don’t already have a Datadog account, you can sign up for a 14-day free trial.