Skip to content

[pt] updates content/pt/docs/languages/js/getting-started/browser.md#8806

Merged
vitorvasc merged 3 commits intoopen-telemetry:mainfrom
maryliag:d-js-browser
Jan 10, 2026
Merged

[pt] updates content/pt/docs/languages/js/getting-started/browser.md#8806
vitorvasc merged 3 commits intoopen-telemetry:mainfrom
maryliag:d-js-browser

Conversation

@maryliag
Copy link
Copy Markdown
Contributor

@maryliag maryliag commented Jan 10, 2026

--- a/content/en/docs/languages/js/getting-started/browser.md
+++ b/content/en/docs/languages/js/getting-started/browser.md
@@ -239,11 +239,20 @@ developer toolbar you should see some traces being exported:
 ### Add Instrumentations
 
 If you want to instrument Ajax requests, User Interactions and others, you can
-register additional instrumentations for those:
+add the additional instrumentation libraries and register them:
+
+```sh
+npm install @opentelemetry/instrumentation-user-interaction \
+  @opentelemetry/instrumentation-xml-http-request \
+```
 
 ```javascript
+import { UserInteractionInstrumentation } from '@opentelemetry/instrumentation-user-interaction';
+import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';
+
 registerInstrumentations({
   instrumentations: [
+    new DocumentLoadInstrumentation(),
     new UserInteractionInstrumentation(),
     new XMLHttpRequestInstrumentation(),
   ],
DRIFTED files: 1 out of 1

@vitorvasc vitorvasc added this pull request to the merge queue Jan 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 10, 2026
@otelbot-docs otelbot-docs Bot requested review from a team January 10, 2026 19:44
Comment thread content/pt/docs/languages/js/getting-started/browser.md Outdated
@otelbot-docs otelbot-docs Bot requested review from a team January 10, 2026 19:50
@vitorvasc vitorvasc added this pull request to the merge queue Jan 10, 2026
Merged via the queue into open-telemetry:main with commit baee089 Jan 10, 2026
22 checks passed
@maryliag maryliag deleted the d-js-browser branch January 10, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants