Skip to content

Commit f1ca327

Browse files
Merge pull request splunk#1595 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents 15ec881 + 54d7f6a commit f1ca327

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

gdi/get-data-in/rum/browser/browser-rum-api-reference.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Use the following API methods when creating manual instrumentation for Splunk RU
1212

1313
.. note:: ``try ... catch`` blocks can prevent your app from crashing when using the CDN version of Browser RUM.
1414

15+
.. _browser-rum-methods:
16+
1517
Methods
1618
=========================
1719

@@ -130,3 +132,9 @@ The following example shows how to add an event listener to track changes of ses
130132
SplunkRum.addEventListener('session-changed', (event) => {
131133
LiveChat.setMetadata('splunk.sessionId', event.payload.sessionId);
132134
});
135+
136+
Migrate to OpenTelemetry
137+
==============================
138+
139+
If you have some existing manual instrumentation of your app you can translate the code to use OpenTelemetry conventions. See how in GitHub's :new-page:`Migrating Manual Instrumentation <https://github.com/signalfx/splunk-otel-js-web/blob/13cb35597773c251d7ec0df08cecabf5fbc4bcb2/docs/MigratingInstrumentation.md#custom-properties--tags--attributes>`.
140+

rum/rum-custom-indexed-tags.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,12 @@ Here are some examples of what you could use as span tags:
3333
..
3434
"How can I add my own tags to Tag Spotlight?", "How can I filter on custom tags?" "How can I troubleshoot with custom tags?
3535
36-
37-
3836
Add custom tags to Tag Spotlight
3937
========================================================
4038

4139
You need to be an admin to do this task. Follow these steps to add custom tags to Tag Spotlight:
4240

43-
1. Add a span tag following these steps: :ref:`create-a-span-rum`.
41+
1. Add a span tag as explained in :ref:`create-a-span-rum`. To add attributes to the span, see RUM's API :ref:`browser-rum-methods`.
4442

4543
2. There are two ways to navigate to the MetricSets configuration page. Choose either one:
4644

0 commit comments

Comments
 (0)