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

How to get data for user action duration metrics filter by page name and user type

Ganeshmete77
Participant

How do we get the user action duration metric data filter by page name and user type like below

 

I could see data in multidimensional analysis but not in the user session query or data explorer metric

I tried in user session query,  data explorer there i don't see required filters.

Refer attached screenshot for more details

Please help me to get this data.

 

 

3 REPLIES 3

t_pawlak
Leader

Hi,

you mixing different data models:

  • Multidimensional analysis --> uses requests/Synthetic browser monitor data
  • User sessions query (USQL) --> works on RUM (real user monitoring) data

So, data visible in Multidimensional analysis won’t appear in USQL, especially for userType = SYNTHETIC
additionally, filtering on userevent.* in USQL works on session level, which can be misleading

The simplest and most accurate solution is to create a custom metric directly from Multidimensional analysis.

You already have there:

  • correct data source (Synthetic)
  • proper filters (page + user type)
  • correct aggregation (e.g. median)

Just use “Create metric” and then use it in Data Explorer or dashboards.

Could you please guide me how to create custom metrics for this?

Sure,

the best approach here is to create a custom metric directly from Multidimensional analysis.

1. First, apply the correct filters in Multidimensional analysis
(e.g. page, user type, action type, etc.)
This is important, if the dataset is too broad, you won’t be able to create the metric.
2. Click “Create metric”
3. Go to Advanced options and:

  • define a proper metric name
  • configure dimension (e.g. page/request name)
  • limit top values (to control cardinality)

 Additionally:

  • use Split by dimension if you want to keep breakdown (e.g. page name)
  • lower cardinality = better metric performance

Summary:
Multidimensional → filter → Create metric → Advanced options → done create_metrics_1.jpg

create_metrics_2.jpgcreate_metrics_3.jpg

Featured Posts