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

推荐订阅源

Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
M
MIT News - Artificial intelligence
D
Docker
量子位
T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
月光博客
月光博客
有赞技术团队
有赞技术团队
J
Java Code Geeks
A
About on SuperTechFans
P
Proofpoint News Feed
Jina AI
Jina AI
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
GbyAI
GbyAI
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 JavaScript framework routing with Datadog RUM
Stella Ma, Maël Lilensten · 2026-05-28 · via Datadog | The Monitor blog
Stella Ma

Stella Ma

Product Marketing Manager

Maël Lilensten

Maël Lilensten

Senior Product Manager

Modern web applications rely on frameworks like Next.js, Vue, and Angular to handle routing and rendering. In these architectures, navigation happens within the application rather than through full page loads, which makes it difficult for traditional browser instrumentation to capture what users actually experience. As a result, teams often see misleading view names, missing navigations, and errors that are either misattributed or not captured at all, especially during hydration or lazy loading.

Datadog Real User Monitoring (RUM) now includes out-of-the-box integrations for Next.js, Vue, Nuxt, Angular, and TanStack Router, enabling teams to capture routing, navigation, and error data in a way that aligns with how their applications actually work. Setup requires only a single initialization at the root of your app. In this post, we’ll cover how RUM automatically captures navigation and error data by using the same semantics defined in your application code, allowing teams to attribute errors and debug faster in their favorite framework.

Capture accurate, router-aware navigation events across your entire application

Once an integration is enabled, Datadog RUM reflects the structure of your application’s routes rather than raw URLs. View names are derived from route templates, such as /product/:id instead of /product/12345, so events are consistently named and easy to aggregate across users.

A view showing events collected from a Next.js application and standardized in Datadog RUM.

Every client-side navigation is captured as a distinct RUM view event, including transitions triggered by routing logic, redirects, lazy-loaded routes, and hydration. This eliminates gaps in session timelines and gives you a complete picture of how users move through your application. Because these events are tied to your framework’s routing system, your observability data matches the actual flow of your application rather than just the initial page load.

During an incident, you can filter errors by route template, identify affected sessions, and trace the exact sequence of navigations leading up to the issue. RUM attributes each error to the view where it occurred rather than the raw URL, so you spend less time figuring out where in the application something broke and more time understanding why.

For example, in a Next.js application, Datadog will automatically track route changes and normalize dynamic segments into a parameterized view, so a URL such as /users/123/posts/456 will have a display name of /users/[userID]/posts/[postID] in RUM. The same principle applies within a Vue application, where navigating to /users/123 generates a view named /users/:id using Vue Router’s definitions as a source of truth.

Get started with Datadog RUM

Datadog RUM integrations for Next.js, Vue, Nuxt, Angular, and TanStack Router provide frontend teams accurate, router-aware observability across JavaScript applications. Each integration hooks into your framework’s router directly, so navigation events, view names, and errors reflect the structure of your code rather than raw browser URLs. See the Datadog documentation for setting up RUM integrations with your framework of choice. To start monitoring Javascript frameworks, sign up for a 14-day free Datadog trial.