We are using an on premise version of Dynatrace Managed (currently 184.108.40.20691030-143701). I'm writing some custom user actions into Dynatrace, to further analyze the response times of certain components withing our page.
However our web solutions uses a url (path) that contains a technical id like this:
This results in custom user actions appearing for each user session, which makes it impossible to add them as key user actions or use them in a dashboard due to the ever changing url. I found several solutions online telling to use custom user action naming. However in our version of Dynatrace i do not see any User Action Naming rules for custom action anymore, they only exist for normal Load Actions as well as XHR Actions. Those also apparently don't get applied to custom user actions:
Now, how do i extract or remove the alphanumeric part of my URL in a custom user action?
Answer by Julius L. ·
At the moment with the new user action naming rule engine, it's difficult to remove numbers as regular expressions are not there anymore. You will have to write it other ways if that fits your application.
As you mention custom actions (I think you are talking about dtrum.enterAction() here) - naming rules are not available for custom actions. You need to enter correct names in your JS code - and as JS has regular expressions, you have to clean-up the action name there.