Showing results for 
Show  only  | Search instead for 
Did you mean: 

Give custom user actions a different name



We are using an on premise version of Dynatrace Managed (currently 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?


DynaMight Legend
DynaMight Legend

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.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Just for your information - there were no rules for custom action in the previous rule engine version either.
Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Thank you for the answer! I was able to fix the Problem by calling dtrum.actionName after each action, then the URL was left out of the action name.

Featured Posts