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

推荐订阅源

cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
Simon Willison's Weblog
Simon Willison's Weblog
T
Tor Project blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
D
DataBreaches.Net
The Hacker News
The Hacker News
有赞技术团队
有赞技术团队
Latest news
Latest news
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Threat Research - Cisco Blogs
G
GRAHAM CLULEY
G
Google Developers Blog
W
WeLiveSecurity
Project Zero
Project Zero
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
F
Full Disclosure
The Last Watchdog
The Last Watchdog
Security Archives - TechRepublic
Security Archives - TechRepublic
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
PCI Perspectives
PCI Perspectives
小众软件
小众软件
N
News | PayPal Newsroom
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
AI
AI
T
Tenable Blog
S
Schneier on Security
O
OpenAI News
The Register - Security
The Register - Security
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
T
Threatpost
Hacker News: Ask HN
Hacker News: Ask HN

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
How we use our Digital Experience Monitoring products to reduce friction in frontend testing and debugging
2025-04-11 · via Datadog | The Monitor blog
Candace Shamieh

Candace Shamieh

Yoann Moinet

Yoann Moinet

Derek Howles

Derek Howles

Rachel White

Rachel White

Blind spots in frontend monitoring can occur when you’re managing complex modern applications. Browser and device variability, user journeys with intricate workflows and multiple touchpoints, and ephemeral frontend components can all create visibility gaps that make it difficult to identify, understand, and resolve the issues impacting user experience.

Here at Datadog, we’ve faced our own challenges with frontend monitoring. Before we started using our digital experience monitoring (DEM) products, we experienced flaky acceptance tests, tool sprawl, and limited visibility into user behavior. While brainstorming about how to address these challenges, we realized that enhancing our own DEM products could potentially remove these pain points. Before fully committing to a migration or introducing new products into our existing workflows, we explored ways to reinforce the DEM offerings to better meet our needs, and in turn, the needs of our customers.

In this post, we’ll discuss how using Synthetic Monitoring, RUM’s Session Replay, and Error Tracking enables us to catch problems before they affect users and accelerate debugging.

Using Synthetic Monitoring to catch problems before they affect users

Before migrating to Synthetic Monitoring, we used acceptance tests during the QA process. These tests were often flaky, difficult to maintain, and had to be written manually. Each acceptance test took about 35 minutes of machine time per commit, a metric which directly correlates to cost. At the time of our migration, we had to maintain over 565 tests.

Synthetic Monitoring enables us to create browser tests instead, which take about eight minutes of machine time per commit, resulting in cost savings, and—because they are fully managed—no platform maintenance is required. Powered by AI, Synthetic browser tests are self-maintaining, automatically responding to application changes so that we don’t receive false positive alerts due to flaky tests. They also run much faster than acceptance tests because we are able to manage key configurations—such as timeout and rerun settings—at a granular level. These configuration options enable us to minimize runtime duration, avoid excessive retries, and ensure that retry intervals are adequately long before the next attempt.

Here’s a code snippet that illustrates our configuration settings for the browser tests:

// To write in the file "datadog-ci.json" at the root of your repository

// or to pass to "datadog-ci synthetics run-tests --config datadog-ci.json"

{

// Ensure the full batch remains bellow 20min.

"batchTimeout": 120000,

// Automatically retry the batch, but only the failed tests.

"selectiveRerun": true,

// Reject the run if it takes longer than configured

"failOnTimeout": true,

"defaultTestOverrides": {

// Ensure a test doesn't take more than 5min.

"testTimeout": 300,

// Ensure a step doesn't take more than 1min.

"defaultStepTimeout": 60,

// Retry a failure twice, waiting 5s in between.

"retry": { "count": 2, "interval": 5000 }

}

}

Transitioning from acceptance tests to Datadog Synthetic browser tests

Whenever we consider using a new tool to alleviate pain points, we know that it must be able to account for the high velocity at which we work. The sheer number of contributors to our codebase every day means that engineers can potentially write conflicting code and features. From previous change management efforts, we’ve learned that implementing any new tool into our workflows requires careful planning, buy-in from our engineers, and an incremental approach.

For context, we have more than 525 authors contributing to our codebase, and over the course of a week, they’ve pushed about 6,300 commits.

Because we used acceptance tests so extensively, we decided to gradually transition to Datadog Synthetic browser tests over the course of one year. Migrating to browser tests incrementally enabled us to establish trust in the new workflow, minimize the risk of testing gaps, and gave us the time necessary to build new tools along the way that would further enhance Synthetic Monitoring. We accomplished these goals by implementing a non-blocking job in our CI/CD pipeline that enabled engineers to add new browser tests without the fear of adversely impacting other teams or end users. The non-blocking job was completely new tooling, helping us continuously test our application in the midst of the migration and meet our needs at scale. It was out of this effort that Datadog Continuous Testing came to be, a product widely used by our customers. An incremental approach also gave our engineers the time and opportunity to become familiar with the new technology and workflow, leading them to fully support the migration.

Running batches of Synthetic browser tests with Datadog Continuous Testing

Datadog Continuous Testing enables us to run and monitor Synthetic test executions in our CI/CD pipeline, including our browser tests. Continuous testing ensures that each release is tested and validated, verifying that new changes won’t break the application before deploying to production. It triggers a batch of Synthetic tests that run in parallel and uses the results to evaluate whether the release meets a specific set of criteria. If the batch succeeds, the deployment process continues to the next step, but if one of the tests fails, the deployment is aborted.

Continuous testing also enables us to test in multiple environments, including private environments. We reuse scheduled Synthetic tests from our production environment to test our application in pre-production, specifying overrides as needed. Because we have one test suite that can be tailored to fit every use case, we’ve successfully broken down silos between our development, QA, product, and operations teams. If a reused scheduled test fails in pre-production, it remains completely unaffected in our production environment, meaning that the test will still run as expected and no production monitors will trigger. Having this flexibility to reuse managed Synthetic tests at any point in our CI/CD pipeline eliminated the need to maintain separate testing scenarios for each stage in the development process.

View of the Results Explorer in Synthetic Monitoring and Testing that shows batch testing results
View of the Results Explorer in Synthetic Monitoring and Testing that shows batch testing results

Because of the size of our organization, we run the risk of triggering a self-inflicted DDOS attack when running a large number of tests simultaneously. In our environment, a batch contains 760 tests. Every 24 hours, we trigger 3,500 batches. To avoid a self-inflicted DDOS attack, we adhere to the following practices:

  • Run tests in small batches
  • Run each batch in a separate region
  • Randomize the regions used to perform the tests
  • Enforce strict timeouts to prevent unnecessary long test runs
  • Configure an appropriate number of retries for test failures

Here’s a code snippet that shows how we randomize regions:

// A helper function to hash a string.

const hashString = (stringToHash: string) => {

let hash = 0;

for (let i = 0; i < stringToHash.length; i++) {

hash = (Math.imul(31, hash) + stringToHash.charCodeAt(i)) | 0;

}

return hash;

};

// A helper function to generate a random number deterministically between 0 and 1.

const deterministicRandom = (seed: number) => {

const x = Math.sin(seed) * 10000;

return x - Math.floor(x);

};

// A helper function to deterministically shuffle an array.

const deterministicShuffleLocations = (array: any[]) => {

// We use the commit SHA as seed to deterministically shuffle the locations

// and ensure we always have the same sort for the same given commit.

const commitSha = process.env.CI_COMMIT_SHA ?? "";

// Hash it into a number.

const seed = hashString(commitSha);

// Copy the array to avoid mutating the original.

const shuffledCopy = [...array];

// The remaining number of elements to shuffle.

let remaining = array.length;

// The index of the element to swap.

let indexToSwap;

// The seed we'll use to generate a random index.

let randomSeed = seed;

// While there remain elements to shuffle…

while (remaining) {

// Compute the index of a remaining element to swap.

indexToSwap = Math.floor(deterministicRandom(randomSeed) * remaining--);

// Swap both elements.

[shuffledCopy[remaining], shuffledCopy[indexToSwap]] = [

shuffledCopy[indexToSwap],

shuffledCopy[remaining],

];

// Increment our random seed to get a different result for the next iteration.

++randomSeed;

}

// Done!

return shuffledCopy;

};

const locations: string[] = deterministicShuffleLocations([

// The list of locations we want to use in our batches.

]);

Since we’re such heavy users of Continuous Testing, we have to strategically manage the load on our infrastructure. With these precautions in place, we can run over 760 tests a time without adversely impacting our CI/CD pipelines or overwhelming our resources.

Accelerating debugging with Session Replay and Error Tracking

Prior to using RUM, we relied on Datadog Log Management for frontend monitoring and troubleshooting. Logging enabled us to analyze application workflows and provided us with helpful information about errors, but couldn’t help us whenever an issue arose that was directly related to the user’s perspective. While we still use Log Management to monitor specific frontend use cases and perform in-depth and historical analysis of our environment, adding RUM has provided us with granular insight into user actions, like clicking and hovering, while Session Replay offers maximum visibility into user journeys. Equipped with this newfound insight and visibility, we’ve made intentional, data-informed decisions to redesign our UI and can quickly resolve issues impacting our users.

Reproducing bugs with Session Replay

Before Session Replay, we had a much harder time finding useful information that could help us investigate UI-related issues. For example, let’s say our Technical Solutions team reached out to us to escalate an issue from a customer who was unable to save a graph to a dashboard. Since logs don’t provide any specific insight into the root cause, we would need to sift through error logs or create queries and filters to troubleshoot the issue. Session Replay has significantly aided these types of investigations, not only by enabling us to view the app from the user’s perspective but also by providing us with precise reproducibility. By using Session Replay, we can reproduce bugs and the steps that a user took to trigger an issue. This reduces the time it takes to identify what went wrong and enables us to gain an in-depth understanding of the exact conditions that caused an issue.

Streamlining error handling with Error Tracking

Error Tracking groups similar unhandled errors and exceptions together, giving us a full picture of an issue. It provides insight into the size and impact of an incident, and helps us understand the context in which an issue occurred. Directly within an Error Tracking issue, we can view related logs, traces, and RUM telemetry, like the click action event that generated the error, and quickly pivot to Session Replay to see the full user session.

Before transitioning to Error Tracking, we lacked this full picture and were using only one, isolated product at a time in order to debug frontend issues. We would investigate issues one by one, and engineers would use a different tool depending on the error type. Over time, tools accumulated, and because those tools were siloed, our engineers would have to switch back and forth between them to obtain all the context necessary to resolve an issue. By choosing Error Tracking as our primary debugging tool, we eliminated tool sprawl, streamlined our investigative workflows, and gained centralized access to critical information that helps us pinpoint root causes faster.

View of an Error Tracking issue that grouped 65 similar errors together
View of an Error Tracking issue that grouped 65 similar errors together

We also use custom Error Tracking monitors that alert us if a new Error Tracking issue is generated or if the error count exceeds the configured threshold.

View of a custom Error Tracking monitor in alert status notifying the user of that a new Error Tracking issue has been generated
View of a custom Error Tracking monitor in alert status notifying the user of that a new Error Tracking issue has been generated

By using Session Replay and Error Tracking along with Log Management, we have end-to-end visibility of frontend issues that arise, accelerating mean time to resolution (MTTR).

Optimize your frontend testing and debugging with Datadog Digital Experience Monitoring products

Using our own DEM products reduced friction in our frontend testing and debugging, enabling us to ship high-quality features faster and quickly address any issues impacting our users. Transitioning to Datadog Synthetic browser tests resulted in less flakiness, minimal maintenance, reduced costs, and eliminated the need to script anything manually. Datadog Continuous Testing enabled us to run tests in parallel, at scale, and in multiple environments. Incorporating Session Replay into our debugging process increased our visibility into the user experience and gave us the ability to reproduce bugs so we can swiftly find root causes. Error Tracking streamlined our investigative workflows and simplified the troubleshooting process by embedding critical contextual information within each issue.

See our documentation to read more about implementing Synthetic Monitoring, Continuous Testing, Session Replay, and Error Tracking into your own environment. You can learn more about Datadog’s engineering culture and take an in-depth look at different engineering solutions on our engineering blog.

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