⚗️ Add Nuxt plugin with router tracking#4424
⚗️ Add Nuxt plugin with router tracking#4424BeltranBulbarellaDD wants to merge 12 commits intomainfrom
Conversation
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: c824cf9 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
|
@codex pls review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a30fc683c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex pls review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86e5acfaf2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex pls review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3416d19292
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Motivation
Add a first-party Nuxt integration for Browser RUM so Nuxt applications can plug into Datadog RUM with Nuxt-aware view tracking. This also gives us stable view names for Nuxt router templates instead of grouping views by concrete URLs.
Changes
@datadog/browser-rum-nuxtpackage with anuxtRumPlugin(router)helper./user/[id]and/guides/[...slug].view-name/trackingbehavior.Test instructions
yarn test:unit --spec packages/rum-nuxt/src/domain/nuxtPlugin.spec.tsyarn test:unit --spec packages/rum-nuxt/src/domain/router/nuxtRouter.spec.tsyarn build:apps --app nuxt-appyarn test:e2e -g "nuxt - router"Also can go into the nuxt test app package and use the developer extension to see events manually.
Checklist