Skip to content

🔧 Add Vue documentation and make package public#4402

Merged
BenoitZugmeyer merged 2 commits intomainfrom
adlrb/vue-documentation
Mar 26, 2026
Merged

🔧 Add Vue documentation and make package public#4402
BenoitZugmeyer merged 2 commits intomainfrom
adlrb/vue-documentation

Conversation

@mormubis
Copy link
Copy Markdown
Contributor

Motivation

Same idea as #4384 for Next.js. The Vue package needs docs before we publish it in beta, and it's still marked as private. This would be removed to point to the Docs page when we have it uploaded.

Changes

Update rum-vue README.md with setup instructions, router view tracking, and error reporting.
Add version tag and remove "private": true in package.json.

Test instructions

N/A

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

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 bot commented Mar 26, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.29% (+0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 8462ff8 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@mormubis mormubis marked this pull request as ready for review March 26, 2026 11:51
@mormubis mormubis requested a review from a team as a code owner March 26, 2026 11:51
@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da bot commented Mar 26, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 176.36 KiB 176.36 KiB 0 B 0.00%
Rum Profiler 6.16 KiB 6.16 KiB 0 B 0.00%
Rum Recorder 26.93 KiB 26.93 KiB 0 B 0.00%
Logs 56.85 KiB 56.85 KiB 0 B 0.00%
Rum Slim 132.13 KiB 132.13 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.0045 0.0056 +24.44%
RUM - add action 0.0128 0.0135 +5.47%
RUM - add error 0.0128 0.0155 +21.09%
RUM - add timing 0.0027 0.0044 +62.96%
RUM - start view 0.0128 0.02 +56.25%
RUM - start/stop session replay recording 0.0007 0.0012 +71.43%
Logs - log message 0.0143 0.033 +130.77%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 27.50 KiB 27.30 KiB -206 B
RUM - add action 99.12 KiB 51.92 KiB -47.20 KiB
RUM - add timing 26.32 KiB 26.47 KiB +156 B
RUM - add error 113.01 KiB 56.87 KiB -56.14 KiB
RUM - start/stop session replay recording 25.59 KiB 26.17 KiB +592 B
RUM - start view 472.43 KiB 465.40 KiB -7.03 KiB
Logs - log message 44.08 KiB 44.56 KiB +495 B

🔗 RealWorld

Copy link
Copy Markdown
Contributor

@BeltranBulbarellaDD BeltranBulbarellaDD left a comment

Choose a reason for hiding this comment

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

What happened to the error tracking part?

@mormubis mormubis force-pushed the adlrb/vue-documentation branch from c6b0bf8 to a430bc6 Compare March 26, 2026 13:47

To automatically track route changes as RUM views, enable the `router` option in the plugin and use the Datadog `createRouter` wrapper instead of Vue Router's native one.

### 1. Initialize the RUM SDK with router tracking enabled
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.

nit for next PR. I would also add "In your main.ts (or main.js)" here.

@BenoitZugmeyer BenoitZugmeyer merged commit 379b220 into main Mar 26, 2026
20 of 21 checks passed
@BenoitZugmeyer BenoitZugmeyer deleted the adlrb/vue-documentation branch March 26, 2026 14:19
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 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.

4 participants