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

Add dimension to built-in metric

henrychan309
Newcomer

Hi Team,

I'd like to add an additional dimension to a built in metric, so that the dimension is available to Split by. I would like to add "App Version" as a dimension to the "Action duration (by key user action, OS) [mobile, custom]" metric. 

Screenshot 2024-04-04 at 9.38.56 PM.png

I see that in the "Crash count (by OS, app version) [mobile, custom]" metric, the "App Version" dimension is available. I'd like to add the "App Version" dimension to the "Action duration (by key user action, OS) [mobile, custom]" metric.

Screenshot 2024-04-04 at 9.41.17 PM.png

Thanks in advance!

2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I think you cannot add dimensions to existing built metrics.
I hope that someone can provide a workarround. If not, you can raise a product idea.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

cesarsaravia
Dynatrace Pro
Dynatrace Pro

Hi @henrychan309 
No, you can't add dimensions to existing built-in metrics. Hope with the new metrics on Grail this split by dimension exists.
Now you can create a USQL using the App version of the session and the duration of the user actions, then add this result to a dashboard.

SELECT appVersion,useraction.name,avg(useraction.duration) from usersession where applicationType="MOBILE_APPLICATION" GROUP BY appVersion, useraction.name

cesarsaravia_0-1713548099525.png

-César S. - LATAM Solutions Architect

Featured Posts