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

Is it possible to influence action naming with data-dtName attributes?

SjoerdB
Advisor

It would be very nice if the functionality of AppMon for naming with data-dtName attributes would have a similar implementation in Dynatrace. Even nicer would be when you can influence the name by changing a CSS stylesheet (doesn't require additional javascriptfile or coding on the page).

I'm currently analysing an application where multiple areas are clickable, but have the exact same function. E.g. there's a date selector that contains date and price, when you click the date I would get "Click on 01 jan 2019" and when I click in the same block on the price my action would be named "click on $500". But from monitoring perspective I would like to know "Click on date/price selector" (and this could then be a key-user-action...)

When we could influence the naming from using stylesheets, the amount of work would be limited and the impact huge (changing styles is often also possible in 3rd party applications).

Does this functionality already exist (ported from AppMon), or is this a candidate for a RFE?

Dynatrace Certified Professional
4 REPLIES 4

florent_duchate
Dynatrace Champion
Dynatrace Champion

Hi

You have a couple of options I can think of.

The page action and XHR action names can be switched from user input to loading of page X under the settings sections.

Alternatively did you try the user action naming rules?

For instance if you have several actions such as click on $200 or click on $300, you could rename them click on amount. They are plenty more options in this section. Have a look at extraction rules too.

Regards

Flo

SjoerdB
Advisor

Thank you, I'm currently testing the naming rules, but I don't see a way of using the attribute value in the new name of the user action...

Once I get this running, I will surely post it here.

Dynatrace Certified Professional

without seeing the html it is hard for me to tell but an extraction rule might be the way to go as many place holders can be used to name the action (page tile, URL, meta tag, css selector)

AlexanderSommer
Dynatrace Champion
Dynatrace Champion

data-dtName will also work with Dynatrace.
There is also a JavaScript API call to name a user action: dtrum.actionName('Manual Load Action Name');
And we will improve the action naming rules in future by adding placeholders similar than you can do for service naming.

Featured Posts