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

Commit 1e96114

Browse files
Merge pull request #1509 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents dc5f45a + cf1b8e8 commit 1e96114

File tree

4 files changed

+65
-27
lines changed

4 files changed

+65
-27
lines changed
12.1 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Span tags
2+
-----------
3+
4+
Use span tags or processes to break down services and inter-service calls along trace characteristics or attributes. To get additional value from a span tag or process, an administrator can run an action known as indexing, which activates additional analysis of the indexed span tag or process. One benefit of indexing is to get aggregated metrics, called MetricSets, across all spans that contain a specified indexed tag or process.
5+
6+
7+
MetricSets
8+
-----------
9+
10+
MetricSets are metric time series (MTS) you can use to track the performance of specific metrics over time.
11+
12+
Default tags
13+
-------------
14+
15+
The following tags are automatically indexed during ingestion by default depending on the metric:
16+
17+
* URL name
18+
* operation
19+
* HTTP method and status code
20+
* custom event name
21+
* browser and version
22+
* OS name and version
23+
* city, region, country
24+

index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,11 @@ View a list of all supported integrations :ref:`supported-data-sources`
793793

794794
rum/rum-session-replay
795795

796+
.. toctree::
797+
:maxdepth: 3
798+
799+
rum/rum-custom-indexed-tags
800+
796801
.. toctree::
797802
:maxdepth: 3
798803

rum/rum-custom-indexed-tags.rst

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
:orphan:
21

32
.. _rum-custom-indexed-tags:
43

@@ -11,53 +10,63 @@ Filter and troubleshoot with custom tags
1110
:description: words
1211

1312

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`.
13+
Create custom tags to improve filtering and troubleshooting capabilities in Tag Spotlight in Splunk RUM. First, create a custom span tag, then index it by adding a MetricSet to the span tag. Adding a MetricSet to a span tag gives you all of the features associated with indexed span tags.
1514

16-
Track custom processes
17-
=================================
15+
Key concepts
16+
==================
17+
How span tags, indexed span tags, and MetricSets relate to each other.
18+
19+
.. include:: /_includes/synthetics/metricset-def.rst
1820

21+
Example: track custom processes
22+
=================================
1923

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.
24+
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.
2125

26+
Here are some examples of what you could use as span tags:
2227

28+
* customer support tier or loyalty level
29+
* department
30+
* internal geo locations for facilities
31+
* branch locations
2332

2433
..
2534
"How can I add my own tags to Tag Spotlight?", "How can I filter on custom tags?" "How can I troubleshoot with custom tags?
2635
2736

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

38+
Add custom tags to Tag Spotlight
39+
========================================================
40+
41+
You need to be an admin to do this task. Follow these steps to add custom tags to Tag Spotlight:
3242

33-
Default tags
34-
==============
43+
1. Add a span tag following these steps: :ref:`create-a-span-rum`.
3544

36-
The following tags are automatically indexed during ingestion by default depending on the metric:
45+
2. There are two ways to navigate to the MetricSets configuration page. Choose either one:
3746

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
47+
* In Splunk RUM, select :strong:`RUM MetricSet` from the MetricSets configuration page as seen in the screenshot below.
4548

49+
.. image:: /_images/rum/rum-metricset.png
50+
:width: 20%
51+
:alt: Settings panel for adding metric sets.
4652

47-
Add custom tags to Tag Spotlight
48-
========================================================
53+
* From the left navigation menu, select :strong:`Settings`, then :strong:`MetricSets` then the :strong:`RUM` tab.
4954

50-
Follow these steps to add custom tags to Tag Spotlight
5155

52-
1. Add a span tag following these steps: :ref:`create-a-span-rum`.
56+
.. image:: /_images/rum/metric-set-left-nav.png
57+
:width: 20%
58+
:alt: Settings panel for adding metric sets.
5359

54-
2. In Splunk RUM, select :strong:`RUM MetricSet`.
60+
3. Choose the tag you want to index to trigger the cardinality analyzer. If the cardinality check passes, select :strong:`Add MetricSet` and confirm with the check mark.
5561

56-
.. image:: /_images/rum/rum-metricset.png
57-
:width: 20%
58-
:alt: Settings panel for adding metric sets.
5962

63+
Troubleshooting
64+
================
6065

61-
3. Select :strong:`Add MetricSet` and confirm with the checkmark.
66+
If the cardinality analysis fails, then you might have exceeded your entitlements.
6267

68+
Avoid high cardinality in MetricSets
69+
--------------------------------------
70+
Choose tags with a reasonable amount of cardinality. Tags like userID, or sessionID have high cardinality because there is a unique value for users in your organization and visitors to your application. 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, see :ref:`rum-tag-search`.
6371

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

0 commit comments

Comments
 (0)