Some processing configurations carry over automatically because RUM and RUM Classic share the same underlying settings, so changes in one apply to the other. Others require a dedicated setup in RUM, often via OpenPipeline or newly introduced settings. This page walks you through each configuration that requires action.
In RUM Classic, you create naming rules (regular expressions or pattern matchers applied server-side) that override the auto-generated names of user actions. Each application has its own set of rules.
In RUM, the RUM JavaScript and the OneAgent for Mobile name user actions automatically. You can change these names in two ways:
RUM groups user actions by name: user actions with the same name form one group, and lists, trends, and alerts in
Experience Vitals are calculated per group. For details, see Customize grouping and naming of user events.
Web frontends
In RUM, user interaction names are derived client-side from the HTML attributes of the element the user interacts with. The RUM JavaScript checks the element for attributes in a fixed priority order: aria-label, title, name, data-testid, placeholder, and id. This is the detected name and requires no configuration. For the full naming logic, see Customize UI element naming for user interactions.
When the detected name is not meaningful enough, you control naming through HTML attributes in your page markup:
data-dt-name sets a custom name for a specific element.data-dt-children-name sets a shared name for a container and all its descendants.Mobile frontends
The mobile agent names automatic user actions following the template {interaction type} on {element name} on {view name}, for example, touch on Checkout on CartActivity. For details, see Concepts for mobile frontends.
Semantics label (Flutter) or the accessibilityLabel property (React Native).dtActionName property.Start by reviewing the user action names that RUM currently produces for your frontend. You can use the DQL queries for naming and grouping in
Notebooks. Then decide for each name that isn't meaningful whether to fix it in your frontend or in OpenPipeline.
Settle your user action names before you recreate dashboards and alerts that rely on them. Renaming user actions later moves new events into new groups, and alerts for the old groups stop matching them. See Before you change a name.
For web frontends
data-dt-name or data-dt-children-name attributes to your HTML. This requires a change to your frontend code.For mobile frontends
dtActionName (React Native).With OpenPipeline (web and mobile frontends)
Use OpenPipeline for names that you can't or don't want to change in your frontend code, for example, to group similar interactions under one name or to fix names of frontends that you can't update quickly.
user_action.name. See Use OpenPipeline for the steps and user action examples for typical rules.Verify the result
After deploying your changes, verify the resulting names:
Experience Vitals > Overview.Classic naming rules you have already defined continue to apply to RUM Classic data. They have no effect on user actions captured in RUM.
In RUM Classic, Dynatrace detects pages and page groups automatically, and you can override them with the RUM JavaScript API.
In RUM, page and view names are derived automatically. For web frontends, the RUM JavaScript detects page.detected_name and view.detected_name from the URL and, for single-page applications, from the framework's navigation events. Dynatrace then derives page.name and view.name from the detected names, for example by replacing dynamic IDs with :id:. For mobile frontends, the view name is the screen name reported by the agent. For the default names and placeholders, see Default naming of pages and views.
If the automatic names don't match how you think about your frontend, you can change them in your frontend code or with OpenPipeline.
To understand how RUM derives these names for your frontend, review Pages, views, and navigations for web frontends or Concepts for mobile frontends for mobile frontends. The view name is also part of the name of automatic user actions.
Then choose one of the following approaches for the names that you want to change.
Change names at the source
Names are correct from capture, with no processing during ingest.
Web frontends: From your frontend code, you can't set page.name or view.name directly, because Dynatrace derives them from page.detected_name and view.detected_name. Instead, override the detected names:
dynatrace.addEventModifier from the JavaScript API.page.detected_name and/or view.detected_name to the value you want.Dynatrace then derives page.name and view.name from your overridden values.
Mobile frontends: Set a custom view name via the API. See the view monitoring instructions for Android, iOS, Flutter, React Native, or .NET MAUI. The custom name is also used in the names of user actions that occur on that view.
Change names with OpenPipeline
A DQL processor in OpenPipeline rewrites page.name or view.name during ingest. This is the closest equivalent to Classic page groups and naming rules with URL placeholders, works for web and mobile frontends, and requires no frontend changes. See Use OpenPipeline for the steps and page and view examples for typical rules.
Renaming a page or view in OpenPipeline doesn't update the user action names that were built from it. For example, a user action named Load /products/:id: keeps its name. Add a rule for the user action name as well, as shown in Collapse pages with readable segments.
RUM Classic provides two ways to create custom metrics:
In RUM, both types are replaced by OpenPipeline-based metric extraction. Metrics are extracted from the user event stream via OpenPipeline processors and can apply across all frontends, depending on your configuration scope. Two extraction points are available:
Before recreating metrics, consider whether you still need them. In RUM, you can query user events and sessions directly using DQL in
Dashboards and
Notebooks, for example, with fetch user.events or fetch user.sessions combined with makeTimeSeries. Many use cases that previously required a dedicated metric can be covered by an ad-hoc or saved DQL query without any extraction setup.
Notebooks or
Dashboards by querying timeseries with your new metric names.RUM Classic USQL custom metrics and calculated metrics remain available while RUM Classic is active. You can run both in parallel while upgrading and remove the Classic equivalents once the new metrics are validated.
In RUM Classic, you configure error detection per application: you can define which HTTP status codes count as errors, create custom error definitions, and ignore specific errors.
In RUM, error capture is automatic. The RUM JavaScript captures request errors and JavaScript exceptions, and the mobile agents capture request errors, crashes, and ANRs. To report custom errors, use the sendExceptionEvent API, which is available for web and mobile frontends. Errors are stored in Grail and analyzed mainly in our dedicated
Error Inspector app. The error detection rules you configured in RUM Classic continue to apply to RUM Classic data and have no effect on RUM error capture.
RUM also groups errors by their name (error.name), and unlike RUM Classic, it lets you customize this grouping. Dynatrace names errors automatically, for example, by status code and URL for failed requests, or by script location for exceptions, crashes, and ANRs. For all default names, see Default naming of errors. You change the name, and with it the grouping, with a DQL processor in OpenPipeline. Mobile frontends can also report error.name for the errors that they report.
Report custom errors
To report custom errors, use the sendExceptionEvent API:
Group errors
Error Inspector or with the DQL queries for naming and grouping, and look for groups that are too fine-grained or too broad.error.name. See Use OpenPipeline for the steps and error examples for typical rules, such as grouping exceptions by message or grouping client errors of an API.Once you have completed all steps for upgrading RUM data processing, continue with upgrading your permissions and segmentation configuration.