Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 6cd8906

Browse files
Update manual-rum-browser-instrumentation.rst
Added importing splunk/otel-web for the "set the user id on all spans" example
1 parent f2668b6 commit 6cd8906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gdi/get-data-in/rum/browser/manual-rum-browser-instrumentation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Set the user ID on all spans
4848
The following example shows how to set the user ID globally:
4949

5050
.. code-block:: javascript
51+
import SplunkRum from '@splunk/otel-web';
5152
5253
SplunkRum.setGlobalAttributes({
5354
'enduser.id': 'Test User'

0 commit comments

Comments
 (0)