Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions gdi/get-data-in/rum/browser/browser-rum-api-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Use the following API methods when creating manual instrumentation for Splunk RU

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

.. _browser-rum-methods:

Methods
=========================

Expand Down Expand Up @@ -130,3 +132,9 @@ The following example shows how to add an event listener to track changes of ses
SplunkRum.addEventListener('session-changed', (event) => {
LiveChat.setMetadata('splunk.sessionId', event.payload.sessionId);
});

Migrate to OpenTelemetry
==============================

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>`.

4 changes: 1 addition & 3 deletions rum/rum-custom-indexed-tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ Here are some examples of what you could use as span tags:
..
"How can I add my own tags to Tag Spotlight?", "How can I filter on custom tags?" "How can I troubleshoot with custom tags?



Add custom tags to Tag Spotlight
========================================================

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

1. Add a span tag following these steps: :ref:`create-a-span-rum`.
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`.

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

Expand Down
Loading