Learn about MetricSets in Splunk RUM

Learn about MetricsSets and their default contents and dimensions.

A MetricSet is a time series of related metrics. MetricSets typically contain only your most important key performance indicators (KPIs). In Splunk RUM, there are two types of MetricSets:

Available metrics in Splunk RUM

The following metrics are available in Splunk RUM. All errors in Splunk RUM have the dimension sf_error=true.

Troubleshooting MetricSets

Troubleshooting MetricSets (TMS) contain high-cardinality metrics that use a span tag as a dimension. Dimensions let you group and analyze metrics using the distinct values of the span tag. For example, if a Troubleshooting MetricSet uses a span tag named user.id as a dimension, you can group its metrics by each distinct value of user.id. This allows you to analyze performance or issues specific to those user.id values, and to make historical comparisons across spans and workflows.

Splunk RUM indexes several span tags by default, and automatically creates Troubleshooting MetricSets for them. You can't modify or stop this behavior. The default Troubleshooting MetricSets and dimensions are always enabled.

In addition, you can create custom Troubleshooting MetricSets by indexing additional span tags and manage Troubleshooting MetricSets. All indexed span tags are dimensions of the MetricSet that contains them.

Contents

In Splunk RUM, every Troubleshooting MetricSet contains the following metrics:

  • Request rate

  • Error rate

  • Root cause error rate

  • p50, p75, and p99 latency

Available default Troubleshooting MetricSet metrics

Troubleshooting MetricSets are available for the Splunk RUM components listed in the following table. Each Monitoring MetricSet also has a set of dimensions you can use to monitor and alert on service performance.

Dimension Aggregation Scope Description
page_view COUNT Web and Mobile Counts initial document loads, route changes, and mobile screen transitions on view/screen nodes.
page_view P50 / P75 / P99 Web and Mobile Page or screen span durations exported as percentile histograms for node metrics.
resource_request COUNT Web and Mobile Tally of resource/XHR/fetch (web) and HTTP (mobile) spans on provider nodes and corresponding view→provider edges.
resource_request ERROR_COUNT Web and Mobile Error-tagged resource spans reflected on provider nodes and edges.
resource_request P50 / P75 / P99 Web and Mobile Resource span latency histograms emitted for provider nodes and edges.
resource_request.ttfb P50 / P75 / P99 Web Time-to-first-byte histograms derived from fetch/response annotations on provider nodes and edges.
long_task COUNT Web Counts long-task spans for the view node.
long_task P50 / P75 / P99 Web Long-task duration histograms on the view node.
client_error COUNT Web View-node counts of spans flagged as client errors.
webvitals_lcp P50 / P75 / P99 Web Largest Contentful Paint histograms from web vitals spans.
webvitals_fid P50 / P75 / P99 Web First Input Delay histograms from web vitals spans.
webvitals_cls P50 / P75 / P99 Web Cumulative Layout Shift score histograms (converted back before emission).
webvitals_inp P50 / P75 / P99 Web Interaction to Next Paint duration histograms.
workflow COUNT Web and Mobile View-node counts of workflow spans identified by workflow tags.
workflow ERROR_COUNT Web and Mobile Workflow spans with error tags counted on the view node.
workflow P50 / P75 / P99 Web and Mobile Workflow span duration histograms on the view node.
app_error COUNT Mobile Mobile spans with component=error, counted on the screen node.
crash COUNT Mobile Counts mobile crash spans on the screen node.
cold_start COUNT Mobile Counts cold app start spans (including unspecified start type).
cold_start P50 / P75 / P99 Mobile Cold start duration histograms on the screen node.
warm_start COUNT Mobile Counts warm app start spans.
warm_start P50 / P75 / P99 Mobile Warm start duration histograms.
hot_start COUNT Mobile Counts hot start spans (explicit or foreground lifecycle).
hot_start P50 / P75 / P99 Mobile Hot start duration histograms.
android.anr COUNT Mobile Counts Android ANR spans on the screen node.
Default Troubleshooting MetricSets dimensions

In Splunk RUM, every TMS includes the following default dimensions.

RUM for Browser dimensions

  • orgId

  • app

  • app.version

  • sf_ua_browsername

  • sf_ua_browserversion

  • sf_ua_osname

  • sf_ua_osversion

  • sf_geo_city

  • sf_geo_region

  • sf_geo_country

  • sf_environment

  • sf_product

  • sf_node_name

  • sf_node_type

  • sf_operation

  • component

  • http.method

  • http.request.method

  • http.status_code

  • http.response.status_code

  • norm.location.href

  • norm.http.url

  • workflow.name

  • sf_error_fingerprint

  • sf_domain

RUM for Mobile dimensions

  • orgId

  • app

  • app.version

  • app.build.type

  • device.model.name

  • os.type

  • os.description

  • os.name

  • os.version

  • platform

  • sf_geo_city

  • sf_geo_region

  • sf_geo_country

  • sf_environment

  • sf_product

  • component

  • net.host.carrier.name

  • network.carrier.name

  • net.host.connection.type

  • network.connection.type

  • http.method

  • http.request.method

  • http.status_code

  • http.method

  • http.response.status_code

  • norm.http.url

  • screen.name

  • sf_operation

  • workflow.name

  • sf_node_name

  • sf_node_type

  • sf_error_fingerprint

  • sf_domain

Precision

The measurement precision of Troubleshooting MetricSets is 10 seconds. Splunk RUM reports quantities from a distribution of metrics for each 10-second reporting window.

Visibility

Troubleshooting MetricSets appear in Tag Spotlight. See Analyze service performance with Tag Spotlight.

Retention

Splunk Observability Cloud retains Troubleshooting MetricSets for the same amount of time as raw traces. By default, the retention period is 8 days.

Monitoring MetricSets

Monitoring MetricSets (MMS) contain endpoint-level and service-level metrics. You can use Monitoring MetricSets to create dashboards, charts, detectors, and alerts, and to monitor your environment in real time.

Contents

In Splunk RUM, every Monitoring MetricSet contains a specific endpoint or an aggregate of all endpoints in a service.

Endpoint-level Monitoring MetricSets reflect the activity of a single endpoint in a service, while service-level Monitoring MetricSets aggregate the activity of all of the endpoints in the service. Monitoring MetricSets are created for spans where the span.kind has a value of SERVER or CONSUMER. Spans might lack a kind value, or have a different kind value, in the following situations:
  • The span originates in self-initiating operations or inferred services

  • An error in instrumentation occurs

Available default Monitoring MetricSet metrics and dimensions

Monitoring MetricSets are available for the Splunk RUM components listed in the following table. Each Monitoring MetricSet also has a set of dimensions you can use to monitor and alert on service performance.

The following Monitoring MetricSets are enabled by default, but can be paused or edited. In addition to the following default Monitoring MetricSets, you can create custom Monitoring MetricSets to deep dive on your Monitoring MetricSets. To manage default and custom Monitoring MetricSets, see Manage RUM MetricSets.

Metric Name Scope Description
  • rum.page_view.count

  • rum.node.page_view.count

Web and mobile Incremented for initial document loads, route changes, and mobile screen transitions; inherits view or screen tags.
  • rum.page_view.time.ns.median

  • rum.page_view.time.ns.p75

  • rum.page_view.time.ns.p99

  • rum.node.page_view.time.ns.median

  • rum.node.page_view.time.ns.p75

  • rum.node.page_view.time.ns.p99

Web and mobile Span duration for page or screen views is emitted with percentile rollups at both app and node levels.
  • rum.resource_request.count

  • rum.node.resource_request.count

Web and Mobile Counts resource/XHR/fetch spans (web) and HTTP spans (mobile) for provider endpoints; includes error_ratio tagging when relevant.

Latency from resource spans is delivered as percentile histograms for provider and node views.
  • rum.resource_request.time.ns.median

  • rum.resource_request.time.ns.p75

  • rum.resource_request.time.ns.p99

  • rum.node.resource_request.time.ns.median

  • rum.node.resource_request.time.ns.p75

  • rum.node.resource_request.time.ns.p99

Web and Mobile Latency from resource spans is delivered as percentile histograms for provider and node views.
  • rum.resource_request.ttfb.time.ns.median

  • rum.resource_request.ttfb.time.ns.p75

  • rum.resource_request.ttfb.time.ns.p99

  • rum.node.resource_request.ttfb.time.ns.median

  • rum.node.resource_request.ttfb.time.ns.p75

  • rum.node.resource_request.ttfb.time.ns.p99

Web Time-to-first-byte derived from fetch/log annotations, exported with percentile summaries for provider and node metrics.
  • rum.long_task.count

  • rum.node.long_task.count

  • rum.long_task.time.ns.median

  • rum.long_task.time.ns.p75

  • rum.long_task.time.ns.p99

  • rum.node.long_task.time.ns.median

  • rum.node.long_task.time.ns.p75

  • rum.node.long_task.time.ns.p99

Web Counts long-task spans on the view node. Main-thread long-task durations are converted to nanoseconds and emitted with percentile rollups.
  • rum.client_error.count

  • rum.node.client_error.count

Web Tracks client-side error spans against the view node.
  • rum.webvitals_lcp.time.ns.median

  • rum.webvitals_lcp.time.ns.p75

  • rum.webvitals_lcp.time.ns.p9

  • rum.node.webvitals_lcp.time.ns.median

  • rum.node.webvitals_lcp.time.ns.p75

  • rum.node.webvitals_lcp.time.ns.p99

Web Largest Contentful Paint derived from web vitals spans, adjusted for histogram export with percentiles.
  • rum.webvitals_fid.time.ns.median

  • rum.webvitals_fid.time.ns.p75

  • rum.webvitals_fid.time.ns.p99

  • rum.node.webvitals_fid.time.ns.median

  • rum.node.webvitals_fid.time.ns.p75

  • rum.node.webvitals_fid.time.ns.p99

Web First Input Delay values captured from web vitals spans with percentile summaries.
  • rum.webvitals_cls.score.median

  • rum.webvitals_cls.score.p75

  • rum.webvitals_cls.score.p99

  • rum.node.webvitals_cls.score.median

  • rum.node.webvitals_cls.score.p75

  • rum.node.webvitals_cls.score.p99

Web Cumulative Layout Shift scores rescaled for reporting and emitted with percentile histograms.
  • rum.webvitals_inp.time.ns.median

  • rum.webvitals_inp.time.ns.p75

  • rum.webvitals_inp.time.ns.p99

  • rum.node.webvitals_inp.time.ns.median

  • rum.node.webvitals_inp.time.ns.p75

  • rum.node.webvitals_inp.time.ns.p99

Web Interaction to Next Paint durations from web vitals spans with percentile outputs.
  • rum.workflow.count

  • rum.node.workflow.count

  • rum.workflow.error.countr

  • rum.node.workflow.error.count

  • rum.workflow.time.ns.median

  • rum.workflow.time.ns.p75

  • rum.workflow.time.ns.p99

  • rum.node.workflow.time.ns.median

  • rum.node.workflow.time.ns.p75

  • rum.node.workflow.time.ns.p99

Web and Mobile Counts spans annotated with workflow names, scoped by session/view tags. Flags workflow spans that also carry error tags. Workflow span durations are sent as percentile histograms at app and node levels.
  • rum.app_error.count

  • rum.node.app_error.count

Mobile Counts mobile spans with component=error, capturing app-level issues.
  • rum.crash.count

  • rum.node.crash.count

Mobile Records spans tagged with crashes for mobile sessions.
  • rum.cold_start.count

  • rum.node.cold_start.count

  • rum.cold_start.time.ns.median

  • rum.cold_start.time.ns.p75

  • rum.cold_start.time.ns.p99

  • rum.node.cold_start.time.ns.median

  • rum.node.cold_start.time.ns.p75

  • rum.node.cold_start.time.ns.p99

Mobile Counts cold app starts (missing or explicit cold start_type). Cold app start duration is emitted with percentile histograms.
  • rum.warm_start.count

  • rum.node.warm_start.count

  • rum.warm_start.time.ns.median

  • rum.warm_start.time.ns.p75

  • rum.warm_start.time.ns.p99

  • rum.node.warm_start.time.ns.median

  • rum.node.warm_start.time.ns.p75

  • rum.node.warm_start.time.ns.p99

Mobile Counts warm app starts. Warm start durations are exported with percentile rollups.
  • rum.hot_start.count

  • rum.node.hot_start.count

  • rum.hot_start.time.ns.median

  • rum.hot_start.time.ns.p75

  • rum.hot_start.time.ns.p99

  • rum.node.hot_start.time.ns.median

  • rum.node.hot_start.time.ns.p75

  • rum.node.hot_start.time.ns.p99

Mobile Counts hot starts from either explicit spans or iOS foreground lifecycle events. Hot start duration is delivered with percentile histograms.
  • rum.android.anr.count

  • rum.node.android.anr.count

Mobile Tracks Android spans capturing ANR events. This metric is new and has not been announced to customers; it will be renamed to app.unresponsiveness.
Default Monitoring MetricSet dimensions

By default, all dimensions in the Available default Monitoring MetricSet metrics and dimensions table are enabled for app-level Monitoring MetricSets.

For page-level Monitoring MetricSets, only the following dimensions are enabled by default.

  • sf_app

  • sf_environment

  • sf_product

  • sf_operation

  • sf_component

  • sf_http_method

  • sf_http_status_code

  • sf_browser_name

  • sf_browser_os_name

  • sf_os_name

  • sf_os_version

  • sf_app_version

  • sf_app_build_type,

  • sf_network_connection_type

  • sf_carrier_name, sf_workflow_name

  • sf_error_fingerprint

  • sf_country_code

Metric types

Monitoring MetricSets in Splunk RUM are generated as histogram metrics. Histogram metrics represent a distribution of measurements or metrics, with complete percentile data available. Data is distributed into equally sized intervals, allowing you to compute percentiles across multiple services, and aggregate datapoints from multiple metric time series. Histogram metrics provide an advantage over other metric types when calculating percentiles, such as the p99 percentile for a single MTS. See more in Metric types. For histogram MMS, there is a single metric for each component.

Previously, Monitoring MetricSets were classified as either a counter or gauge metric type. The previous Monitoring MetricSets included 6 metrics for each component.

Visibility

Monitoring MetricSets appear in Dashboards, Alerts, and charts.

Task

Documentation

Create charts

Create charts in Splunk Observability Cloud

Create dashboards

Create and customize dashboards

Create an alert

Alert on Splunk RUM data

Monitor services in Splunk RUM dashboards

Splunk RUM dashboards

Retention

Splunk Observability Cloud stores Monitoring MetricSets for 13 months by default.