Skip to content

📝 Add README for rum-nuxt package#4506

Merged
BeltranBulbarellaDD merged 2 commits intomainfrom
beltran.bulbarella/add_nuxt_docs
Apr 22, 2026
Merged

📝 Add README for rum-nuxt package#4506
BeltranBulbarellaDD merged 2 commits intomainfrom
beltran.bulbarella/add_nuxt_docs

Conversation

@BeltranBulbarellaDD
Copy link
Copy Markdown
Contributor

Motivation

Now that Routing and Erorr handling has been merged in Nuxt, we can add its full documentation.

Changes

Adds readme.md file

Test instructions

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented Apr 20, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 179.16 KiB 179.16 KiB 0 B 0.00%
Rum Profiler 6.16 KiB 6.16 KiB 0 B 0.00%
Rum Recorder 27.03 KiB 27.03 KiB 0 B 0.00%
Logs 56.65 KiB 56.65 KiB 0 B 0.00%
Rum Slim 135.00 KiB 135.00 KiB 0 B 0.00%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
RUM - add global context 0.004 0.0046 +15.00%
RUM - add action 0.0133 0.0151 +13.53%
RUM - add error 0.0129 0.0145 +12.40%
RUM - add timing 0.0028 0.0031 +10.71%
RUM - start view 0.0127 0.0156 +22.83%
RUM - start/stop session replay recording 0.0007 0.0008 +14.29%
Logs - log message 0.0202 0.0197 -2.48%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 32.43 KiB 31.16 KiB -1.27 KiB
RUM - add action 105.60 KiB 106.01 KiB +428 B
RUM - add timing 31.89 KiB 32.79 KiB +929 B
RUM - add error 99.80 KiB 100.54 KiB +766 B
RUM - start/stop session replay recording 31.26 KiB 32.56 KiB +1.30 KiB
RUM - start view 507.19 KiB 491.73 KiB -15.46 KiB
Logs - log message 100.24 KiB 99.37 KiB -892 B

🔗 RealWorld

@datadog-official
Copy link
Copy Markdown

datadog-official Bot commented Apr 20, 2026

Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.03% (-0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2fe59e7 | Docs | Datadog PR Page | Give us feedback!

@BeltranBulbarellaDD BeltranBulbarellaDD marked this pull request as ready for review April 20, 2026 11:11
@BeltranBulbarellaDD BeltranBulbarellaDD requested a review from a team as a code owner April 20, 2026 11:11
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8a5c9f0ea

ℹ️ 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".

Comment thread packages/rum-nuxt/README.md Outdated
Comment thread packages/rum-nuxt/README.md
name: 'datadog-rum',
enforce: 'pre',
setup() {
datadogRum.init({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just found out that defineNuxtPlugin, useRouter, and useNuxtApp are auto-imported in Nuxt, so the from 'nuxt/app' line isn't needed. https://nuxt.com/docs/guide/concepts/auto-imports#explicit-imports. What do you think? Should we adapt the example to Nuxt auto-import?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think both ways are fine. IMO I would prefer to leave it as the IDE considers it a linter error, even thought the application will build just fine. I think it does not hurt and prevents an import from the wrong component in case a developer wants to get rid of the linting issue locally.

Copy link
Copy Markdown
Contributor

@mormubis mormubis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@BeltranBulbarellaDD BeltranBulbarellaDD merged commit fc27a33 into main Apr 22, 2026
22 checks passed
@BeltranBulbarellaDD BeltranBulbarellaDD deleted the beltran.bulbarella/add_nuxt_docs branch April 22, 2026 08:44
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants