DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Understanding Dynatrace service.requestCount metrics (total vs client vs server)

R928492
Visitor

We would like to understand the difference between the below three query of DT inbuilt matrices :
builtin:service.requestCount.total:filter(and(or(in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 1~")")),in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 2~")"))))):splitBy()

builtin:service.requestCount.client:filter(and(or(in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 1~")")),in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 2~")"))))):splitBy()

builtin:service.requestCount.server:filter(and(or(in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 1~")")),in("dt.entity.service",entitySelector("type(service),entityName.equals(~"Service - Site 2~")"))))):splitBy()

I have a requirement to display the trend of total incoming API requests for one of the java microservices running on kubernates platform.

As of now i am using -builtin:service.requestCount.total:/dt.service.request.count however for a specific duration  the count of request being displayed is incorrect and DT is displaying the count almost double the actual count when we had an issue with the downstream system. For rest of the time it displays the correct count.

Today when i was exploring i came across the two other inbuilt matric i.e  :
builtin:service.requestCount.client
builtin:service.requestCount.server

Can someone please help me in understanding the usage of these three matrices and which one i should actually use for displaying the total request , success% , failure% .

0 REPLIES 0

Featured Posts