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

Not able to find request dimension for splitBy

varadasantosh
Visitor

Hi All,

I am new to dynatrace & trying to create dashboards for our Backend applications, as a basic  trying to create dashboard with graph to show the failure count of service across different Requests(endpoints), while configuring I am trying to use splitBy on Request, but it does not seem to be accepting Request attribute also could not find any dropdown to select which attributes are allowed. Not sure if the approach is correct . Please correct me if my understanding is not appropriate.

varadasantosh_0-1673506894719.png


Thanks 
Santosh 

3 REPLIES 3

One way to achieve this would be to mark those request to key request. 

There is also other way by creating own calculated service metric where you could also utilize the request name as a dimension (splitter) but depending your use case the key request could be the easiest way to start with.
https://www.dynatrace.com/support/help/shortlink/key-requests#create-ui

Then you could use the builtin:service.keyRequest.errors.fivexx.count as you metric and split the data per key request. You can filter that data by service name by utilizing the Request.Service -> isServiceMethodOfService -> Name as you filter.
 janne_olkoniemi_0-1673512568449.png
janne_olkoniemi_2-1673512801643.png

 

Hi @janne_olkoniemi , Thanks much for sharing the approaches, I tried the calculated metric approach.

I created calculated metric - errorcountperrequest  was able to select the splitBy by Request after adding the Request in the splitBy dimension of the Calculated Metric as shown in the below but when we run the query it does not show any result , though we have some requests happened during the timeframe, any idea what could be the issues, could it be possible that requests are not named properly .

Regards
Santosh 


varadasantosh_0-1673521887104.png

 

Is there any change that you could share your calculated service metric definition so could get a bit better idea which kind of definition you have currrently You can mask every detail which would reveal anything specific from your environment or company.

One thing comes to my mind that the metrics explorer is not going to show-up anything before you get first failed calls in on that service. So the calculated metrics are started to count after the definition and it wouldn't utilize any of your history data.

Best Regards,

Janne

Featured Posts