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

Commit 25fdb32

Browse files
Merge pull request #1632 from splunk/gschatz-O11YDOCS-5879
Custom indexed tags GA doc prep
2 parents 0c96f2a + bc78e19 commit 25fdb32

File tree

11 files changed

+83
-21
lines changed

11 files changed

+83
-21
lines changed

_images/rum/rum-metricset.png

13.9 KB
Loading

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ To manually instrument your application, the version of ``@opentelemetry/api`` y
2323

2424
To verify this, run ``window[Symbol.for('opentelemetry.js.api.1')].version`` in the browser's console from any page that you've instrumented. The command returns the full version of the OpenTelemetry API.
2525

26+
.. _create-a-span-rum:
27+
2628
Create a span
2729
---------------------------------------
2830

gdi/get-data-in/rum/browser/rum-browser-data-model.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The following tables list all of the metrics available in Splunk RUM for Browser
8282
- The total number of page views and route changes sorted by page for the given time range.
8383
* - ``rum.page_view.time.ns.p75``
8484
- Page views and route change duration
85-
- ``rum.node.rum.page_view.time.ns.p75``
85+
- ``rum.node.page_view.time.ns.p75``
8686
- The p75 time in nanoseconds of the document load and, or, the route change time for the given time range. Route changes in Splunk RUM are events with zero second durations. For more, see :ref:`browser-rum-data-doc-load`.
8787
* - ``rum.client_error.count``
8888
- JavaScript errors
@@ -92,13 +92,13 @@ The following tables list all of the metrics available in Splunk RUM for Browser
9292
- Largest contentful paint (LCP) Time
9393
- ``rum.node.webvitals_lcp.time.ns.p75``
9494
- The p75 time of the LCP in nanoseconds for the given time range.
95-
* - ``rum.webvitals_fid.time.ns.p75``
96-
- First input delay time (FID)
97-
- ``rum.node.rum.webvitals_fid.time.ns.p75``
98-
- The p75 time of the FID in nanoseconds for the given time range.
95+
* - ``rum.webvitals_inp.time.ns.p75``
96+
- INP (Interaction to next paint)
97+
- ``rum.node.rum.webvitals_inp.time.ns.p75``
98+
- The p75 time of the INP in nanoseconds for the given time range.
9999
* - ``rum.webvitals_cls.score.p75``
100100
- Cumulative layout shift (CLS)
101-
- ``rum.node.rum.webvitals_cls.score.p75``
101+
- ``rum.node.webvitals_cls.score.p75``
102102
- The p75 time of the CLS in nanoseconds for the given time range.
103103
* - ``rum.long_task.count``
104104
- Long task count

rum/rum-alerts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ To learn more about web vitals, see :new-page:`https://web.dev/vitals/` in the G
5757
* - :strong:`Category`
5858
- :strong:`Metrics`
5959
* - Web vitals
60-
- * LCP (Largest Contentful Paint)
61-
* FID (First Input Delay)
62-
* CLS (Cumulative Layout Shift)
60+
- * LCP (Largest conctentful paint)
61+
* INP (Interaction to next paint)
62+
* CLS (Cumulative layout shift)
6363
* - Custom events
6464
- * :ref:`Create custom events<rum-custom-event>`
6565
* - Page metrics

rum/rum-custom-indexed-tags.rst

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
:orphan:
2+
3+
.. _rum-custom-indexed-tags:
4+
5+
**********************************************************************
6+
Filter and troubleshoot with custom tags
7+
**********************************************************************
8+
9+
10+
.. meta::
11+
:description: words
12+
13+
14+
Create custom tags to improve filtering and troubleshooting capabilities in Tag Spotlight. First, create a custom span tag, then index it by adding a MetricSet to the span tag. Adding a MetricSet to the span tags lets you use all of the features associated with indexed span tags. See, :ref:`apm-index-span-tags`.
15+
16+
Track custom processes
17+
=================================
18+
19+
20+
Adding your own tags that are meaningful to your organization like custom tags, helps you refine results and glean insights most pertinent to you. Custom span tags are especially useful for tracking processes that are unique to your organization. For example, customer support, tier, department, or internal geo locations for facilities.
21+
22+
23+
24+
..
25+
"How can I add my own tags to Tag Spotlight?", "How can I filter on custom tags?" "How can I troubleshoot with custom tags?
26+
27+
28+
Avoid high cardinality in MetricSets
29+
=============================================
30+
Choose tags with a reasonable amount of cardinality. Tags like userID, or sessionID are inefficient choices because there could be a huge number of users in your organization and visitors to your application, so creating a troubleshooting MetricSet for each userID is not optimal for performance. For high cardinality ID based tags full-fidelity session search is a better option. High cardinality MetricSets can also affect your org limits :ref:`rum-limits`. Limits are determined by your subscription: enterprise and standard. For more information on each type of subscription, see :new-page:`Splunk RUM Pricing <https://www.splunk.com/en_us/products/pricing/faqs/observability.html#splunk-rum>`.
31+
32+
33+
Default tags
34+
==============
35+
36+
The following tags are automatically indexed during ingestion by default depending on the metric:
37+
38+
* url name
39+
* operation
40+
* HTTP Method and status code
41+
* custom event name
42+
* browser and version
43+
* OS name and version
44+
* city, region, country
45+
46+
47+
Add custom tags to Tag Spotlight
48+
========================================================
49+
50+
Follow these steps to add custom tags to Tag Spotlight
51+
52+
1. Add a span tag following these steps: :ref:`create-a-span-rum`.
53+
54+
2. In Splunk RUM, select :strong:`RUM MetricSet`.
55+
56+
.. image:: /_images/rum/rum-metricset.png
57+
:width: 20%
58+
:alt: Settings panel for adding metric sets.
59+
60+
61+
3. Select :strong:`Add MetricSet` and confirm with the checkmark.
62+
63+

rum/rum-scenario-library/scenario-monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Web Vitals are made up of three metrics that measure user experience:
2222

2323
* LCP (largest contentful paint)
2424
* CLS (cumulative layout shift)
25-
* FID (first input delay).
25+
* INP (interaction to next paint).
2626

2727
Monitor Web Vitals
2828
======================

rum/rum-tag-search.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ Try these steps to troubleshoot:
9393
* If the environment tag is undefined, try setting it in the instrumentation by following the steps here: :ref:`rum-gdi`.
9494
* If the tag is related to a geo location that is calculated based off of an IP address, this data could be missing if the user is on VPN.
9595

96+
97+
.. _search-indexed-tags:
98+
9699
Search for indexed tags
97100
=========================
98101

rum/rum-terminology-concepts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This topic introduces important terminology and concepts in Splunk RUM for Brows
3838
- Web Vitals are made up of three metrics that measure user experience:
3939
* Largest contentful paint (LCP)
4040
* Cumulative layout shift (CLS)
41-
* First input delay (FID)
41+
* Interaction to next paint (INP)
4242
* - :ref:`rum-error-id`
4343
- In Splunk RUM, the error ID is created by hashing the associated stack trace, error message, and error type.
4444
* - :ref:`rum-custom-event-term`
@@ -219,7 +219,7 @@ Web Vitals are made up of three metrics that measure user experience:
219219

220220
* LCP (largest contentful paint)
221221
* CLS (cumulative layout shift)
222-
* FID (first input delay).
222+
* INP (Interaction to next paint)
223223

224224
Google uses web vitals to determine page ranking. Splunk RUM automatically measures Web Vital metrics. To learn more about web vitals, see :new-page:`https://web.dev/vitals/` in the Google developer documentation.
225225

synthetics/browser-test/browser-test-metrics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Web vitals capture key metrics that affect user experience.
182182

183183
* - Total blocking time (TBT)
184184
- ``synthetics.webvitals_tbt.time.ms``
185-
- Captures issues that affect interactivity. TBT is a synthetic alternative for First Input Delay (FID), which measures page responsiveness to user input. Optimizations that improve TBT in the lab can also help improve FID for your users.
185+
- Captures issues that affect interactivity. TBT is a synthetic alternative for First Input Delay (INP), which measures page responsiveness to user input. Optimizations that improve TBT in the lab can also help improve INP for your users.
186186

187187

188188
To learn more about web vitals, see :new-page:`https://web.dev/vitals/` in the Google developer documentation.

synthetics/test-config/rum-synth.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Splunk Synthetic Monitoring automatically collects Web Vitals for Browser tests.
2121
- Measures loading performance by capturing the render time of the largest image or text block visible within the viewport.
2222
* - Cumulative layout shift (CLS)
2323
- Measures visual stability by capturing the sum of all individual layout shift scores for every unexpected layout shift that occurs during the entire lifespan of the page. A layout shift occurs any time a visible element changes its position from one rendered frame to the next. Fewer shifts are better for page stability.
24-
* - First input delay (FID)
24+
* - INP (interaction to next paint)
2525
- Measures the time from when a user first interacts with a web page to the time when the browser responds to that interaction.
2626
* - Total blocking time (TBT)
2727
- Measures the time it takes a page to become interactive and responsive for a user.
28-
TBT is collected from a synthetic test, while FID is collected from real user data. They are considered equivalent to each other because they measure the same metric.
28+
TBT is collected from a synthetic test, while INP is collected from real user data. They are considered equivalent to each other because they measure the same metric.
2929

3030
Prerequisites
3131
===================

0 commit comments

Comments
 (0)