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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Datadog | The Monitor blog

Reduce CVE noise with OpenVEX assessments in Datadog How we made a SQL query optimization agent 59% more accurate using autoresearch and LLM Observability How to audit and clean up monitors effectively Diagnose slow PostgreSQL queries faster with explain plan correlation Explore Datadog metrics with Natural Language Queries Toto 2.0: Time series forecasting enters the scaling era Simplify micro-frontend observability with Datadog RUM Attribute AI costs across providers with Datadog Cloud Cost Management Diagnose and resolve database performance issues faster with Database Investigator Datadog for Government achieves FedRAMP® High certification Analyze cloud costs with flexible spreadsheets in Datadog Sheets Inside Datadog’s AI Research Lab: Meet two PhD candidates behind Toto Connect triage and investigation in a single workflow with Datadog Cloud SIEM This Month in Datadog - April 2026 Monitor and optimize Supabase query performance with Datadog Database Monitoring Add dynamically updating context to logs with Reference Tables and Observability Pipelines Introducing ARFBench: A time series question-answering benchmark based on real incidents The product signal latency gap slowing your growth Test network paths with TCP, UDP, and ICMP in Datadog Turn developer feedback into operational insight with Datadog Forms and Sheets How to investigate cloud credential compromise with Bits AI Security Analyst Evaluate, optimize, and secure your Google Cloud AI stack with Datadog Bringing observability data hosting to the UK on AWS Identify and fix code issues faster with Datadog’s Azure DevOps Source Code integration Steganography at scale: Embedding share URLs in Datadog widget screenshots Every team should be A/B testing Centralize observability management with Datadog Governance Console Spotting CI/CD misconfigurations before the bots do: Securing GitHub Actions with Datadog IaC Security Route OTel data from AI apps to ClickHouse and Datadog using Observability Pipelines Manage service tracing across hosts with Single Step Instrumentation rules Offline evaluation for AI agents: Best practices Detect runtime threats in Python Lambda functions with Datadog AAP 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 How we built a real-world evaluation platform for autonomous SRE agents at scale 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 When upserts don't update but still write: Debugging Postgres performance at scale 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 Closing the verification loop: Observability-driven harnesses for building with agents When an AI agent came knocking: Catching malicious contributions in Datadog’s open source repos Closing the verification loop, Part 2: Fully autonomous optimization 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 Designing MCP tools for agents: Lessons from building Datadog's MCP server 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 Fine-tune Toto for turbocharged forecasts 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 How we reduced the size of our Agent Go binaries by up to 77% 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
Debug live production issues with the Datadog Cursor extension
2025-06-10 · via Datadog | The Monitor blog

Cursor is an AI-powered code editor that accelerates developer velocity by offering intelligent features such as contextual code completion; an agent that can retrieve context from your codebase, generate and run terminal commands, and detect and fix linting errors; and an embedded chat that can help answer questions that arise during development.

We’re excited to announce the Datadog Cursor extension, which gives developers access to Datadog features such as Error Tracking, Live Debugging, and more when interfacing with the Cursor IDE. The extension uses the Datadog Model Context Protocol (MCP) Server to expose Datadog APIs to Cursor, enabling developers to access observability data from Datadog without any additional context switching or manual copy and pasting.

In this post, we’ll walk through a debugging example where we use the Cursor integration to troubleshoot a real-world business problem, then generate unit tests to validate the application’s behavior after applying a suggested fix.

Troubleshoot using the Cursor chat and Datadog tools enabled by the MCP Server

Consider a scenario where you run an online web shop, and one of your Datadog Monitors alerts you to an elevated rate of errors in the customer checkout workflow. Upon investigating, you find that when you click the checkout button, nothing happens. At this point, you would kick off your typical troubleshooting workflow, which may include using Datadog Live Debugging to identify the lines of code executed and variable data during runtime.

The web store is unable to proceed after you attempt to checkout.

The Datadog Cursor extension enables you to take advantage of Live Debugger by adding and visualizing logpoints, directly in your IDE. After creating a new Cursor chat, you’re able to ask Cursor Agent to help you troubleshoot real-time production bugs and apply a suggested fix to reduce your time to resolution. In our example, we can provide the details of our issue to Cursor Agent, which in turn proposes a hypothesis as to what the root cause may be—in this case, a potential issue with the shipping calculator using the customer address. Then, Cursor suggests inserting dynamic logpoints to collect information that will either reinforce or dispute the hypothesis.

Cursor calls the Datadog MCP Server to use the add_dynamic_log_at_line tool to place logpoints at various locations within your application code, so Datadog can capture logs and variable snapshots—in this case cart ID, shipping address, and cost of shipping—from your application. This data is then made available to Cursor Agent (via a call to the get_logs tool) and can be viewed from within the Cursor IDE. Since these logpoints are placed using the Live Debugger, Cursor is able to insert them without pausing your application, and they will also automatically expire after one hour, so you don’t need to remember to manually clean up your code.

Now that you’ve inserted logpoints with the Datadog Cursor extension, it’s time to recreate the checkout error to generate some logs. Using the logpoints, Cursor is able to identify that the checkout issue surfaces when the shipping address is set to the city of São Paulo. Cursor also identifies that the reason for this is because city names are sanitized (and have their diacritical accent marks removed) before they are inputted into the _get_shipping_cost_function. This results in a mismatch with the keys stored in the _SHIPPING_COST_CACHE, which still retain the accents in city names.

In this example, the recommendation from Cursor is pretty straightforward: ensure that city names are handled consistently. You can continue to sanitize user entries in the city field—which protects your application against malicious HTML scripts and SQL injections—and also sanitize all values stored within the _SHIPPING_COST_CACHE to ensure that the cache’s key-value pairs match in cases such as “São Paulo.” By following the additional links that Cursor provides, you can easily locate the line(s) of code responsible, and also live variable values that the logpoints captured during the execution. For a more granular look into your Live Debugging Session, you can also view the logpoints from within the Datadog platform. From here, you can quickly copy and share enriched logs from the debugging session with team members and collaborators.

View your Live Debugging Session in the Datadog App for more granular context.

Generate unit tests using production data

In the previous example, we used the Datadog Cursor extension to diagnose a bug in your application. However, you still need to apply a fix and validate that your application code behaves correctly and reliably so that the issue doesn’t resurface. For this reason, you need to write unit tests.

The Datadog Cursor extension adds a “Generate Unit Test” button to log events that prompts Cursor to generate unit tests with live data taken from your application. This makes the test more accurate, since it’s grounded in live values. Continuing the previous example, you ask Cursor to generate a unit tests and run it against the live variable data taken from your application. Since we haven’t addressed the issue, the unit test fails as expected, and Cursor suggests a fix to be applied.

After confirming the suggested fix, the unit test passes, enabling you to validate that your checkout process is behaving as intended. Asking the agent to use a red-to-green strategy is a great way to ensure the problem is fixed correctly.

Enhance your Cursor workflow with Datadog today

The Datadog Cursor extension enables you to pull observability data, add live instrumentation, and create accurate unit tests directly from within the Cursor IDE. This feature is currently available in Preview—you can request access here. You can also learn more about how the Datadog MCP Server enables AI agents and developers to access Datadog tools in our blog post, or check out other features announced during this year’s DASH Keynote in the 2025 DASH roundup guide.

If you don’t already have a Datadog account, sign up for a free 14-day trial today.