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

推荐订阅源

P
Proofpoint News Feed
博客园 - 聂微东
博客园 - 叶小钗
量子位
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Privacy & Cybersecurity Law Blog
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
雷峰网
雷峰网
C
Cybersecurity and Infrastructure Security Agency CISA
Schneier on Security
Schneier on Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
美团技术团队
T
Tenable Blog
T
Threatpost
S
Security Affairs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cisco Blogs
The Last Watchdog
The Last Watchdog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
A
Arctic Wolf
Attack and Defense Labs
Attack and Defense Labs
AWS News Blog
AWS News Blog
AI
AI
W
WeLiveSecurity
H
Help Net Security
G
Google Developers Blog
PCI Perspectives
PCI Perspectives
博客园_首页
S
Securelist
B
Blog RSS Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Forbes - Security
Forbes - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
L
Lohrmann on Cybersecurity
云风的 BLOG
云风的 BLOG
Martin Fowler
Martin Fowler
C
CERT Recently Published Vulnerability Notes
H
Hacker News: Front Page
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Spread Privacy
Spread Privacy
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
博客园 - 司徒正美
Google Online Security Blog
Google Online Security Blog
T
The Blog of Author Tim Ferriss

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
Fix production bugs efficiently with Datadog Live Debugging
Evgeni Wachnowezki, Kassen Qian, David M. Lentz · 2024-06-26 · via Datadog | The Monitor blog
Evgeni Wachnowezki

Evgeni Wachnowezki

Kassen Qian

Kassen Qian

David M. Lentz

David M. Lentz

Bugs that affect your application in production demand immediate attention. Often, that can interrupt your flow and require you to shift to an alternate set of tools and processes to investigate. You might need to explore logs, review dashboards full of performance metrics, and dig into source code to try to pinpoint the root cause. But without seeing the full context of what triggered a bug—such as the lines of code executed and the relevant local variable data—you can only guess at what went wrong. Once you’ve identified the cause of the bug, you need to code a fix and then write an integration test to prevent a regression. Only then can you turn back to your development work to regain momentum on shipping your next feature.

Datadog Live Debugging streamlines the process of fixing production bugs by providing crucial context that helps you quickly home in on the root cause. You can visualize the affected service, its dependencies, and the flow of data between them to identify which interactions contributed to the error. Live Debugging lets you reproduce the bug locally, view the error’s stack trace enriched with relevant local variables, and generate an integration test to prevent a regression—all within your IDE.

In this post, we’ll show you how Live Debugging enables you to:

  • See the production context of errors within your IDE

  • Jump-start your remediation with an AI-generated summary and root-cause hypothesis

  • Reproduce bugs locally and prevent regressions with one-click integration test generation

Use Error Tracking and Exception Replay in your IDE

Datadog Error Tracking for APM aggregates related backend errors into issues to minimize noise, increase visibility, and help you understand the impact of the errors. Exception Replay enhances Error Tracking and brings actionable context into your IDE, including the values of local variables for all stack frames at the time an exception was thrown. With Exception Replay in your IDE, you can efficiently troubleshoot production bugs without leaving your usual workflow. You don’t need to attach a debugger to the running process, dig through logs and performance metrics, parse error messages, or search across your codebase to find offending lines of code.

The screenshot below shows Datadog’s VS Code extension displaying a production error’s stack trace enhanced with runtime variable data. The value of the Price variable is less than zero, and the source code shows the corresponding exception the application will throw in this case.

A screenshot of the VS Code UI shows the values of local variables determined by Exception Replay, and the source code of the checkout controller.

Checking your application’s variables can help you understand its state at the time of an exception, but it may not uncover the source of the problem. To gain a complete understanding of the issue, you need to know which services were involved, how they interacted with the service that threw the exception, and what lines of code were executed leading up to the error.

Explore errors from context to code with the Datadog Debugger

To investigate the bug further, you can pivot to the Datadog Debugger, which builds on the context provided by Exception Replay. The Debugger uses APM data to visualize the flow of requests between the services in your app at the time the bug was triggered, illustrating the performance of each service and surfacing any errors that may have contributed to the problem.

In the screenshot below, the Debugger presents an AI-generated summary of a call to the coupon-shop-web-app service’s /checkout/index endpoint, which returned an error. The Debugger also shows the lines of code that were executed to process the request.

A screenshot of the Debugger shows an explanation of what the trace illustrates, followed by a flame graph, followed by an excerpt of the service’s source code.

With this complete understanding of the bug—including the services involved, the values passed between them, and the lines of code executed—you can move from investigating the bug to remediating it. But you can’t fix the bug until you can reliably reproduce it in your local environment, and your fix won’t be complete until you’ve written an integration test to prevent regressions.

Easily reproduce errors and generate integration tests

Reproducing bugs locally has historically been a difficult task because it requires you to understand the conditions of the error, including the values of the application’s runtime variables at the time the exception was triggered. But by providing context around production bugs, the Debugger enables you to create an integration test with a single click to reproduce the bug locally and ensure that it doesn’t recur. Based on the production context collected by the Debugger, Datadog uses AI to mock all of the relevant upstream and downstream services and create an integration test. You can run the test in your IDE and step through your code to get a closer look at what you need to fix, then add the test to your CI/CD pipeline to ensure that this particular bug doesn’t occur in the future.

The screenshot below shows a test generated automatically by the Debugger, ready to be added to a project in Visual Studio Code.

A screenshot of the Debugger shows the source code for an integration test and a dialog for opening the test in VS Code.

Debug production errors with AI insights and runtime context

When errors arise in production, Live Debugging enables you to investigate and fix them efficiently—without disrupting your flow state. You can see crucial context inside your IDE plus AI-generated issue summaries and integration tests to help you quickly root-cause, reproduce, and resolve production errors.

To try out Live Debugging, enable the source code integration and the Datadog IDE Plugins, and sign up for the preview. See the documentation to learn more about Error Tracking and Exception Replay. If you’re not already using Datadog, you can get started with a free 14-day trial.