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

difference Request count vs Request count - server vs Request count - client

MAkimov
Mentor

Hello 

help me understand the difference between metrics:

  • Request countbuiltin:service.requestCount.total
  • Request count - serverbuiltin:service.requestCount.server 
  • Request count - clientbuiltin:service.requestCount.client
  • Number of calls to other services -builtin:service.keyRequest.nonDbChildCallCount

 

And why these metrics have different meanings on the Custom chart and Service Details page/Service Flow?

 

as an experiment to understand the metrics, I took the EasyTravelWebserver service: 8079

 

I userd service for MZ=production 

Screenshot_9.png

 

I selected metrics and displayed them on the chart 

 

Screenshot_3.png

 

I took the value in 11-10 and compared them for different metrics

 

  • Request countbuiltin:service.requestCount.total Screenshot_6.png
  • Request count - serverbuiltin:service.requestCount.server Screenshot_7.png
  • Request count - clientbuiltin:service.requestCount.clientScreenshot_4.png
  • Number of calls to other services -builtin:service.keyRequest.nonDbChildCallCountScreenshot_5.png

 

result 

  • Request count  = 2470
  • Request count - server = 2470
  • Request count - client  = 627
  • Number of calls to other services  = 2120

 

conclusions:

  • Request count  =Request count - server
  • Request count - server > Request count - client 
  • Request count  > Number of calls to other services

 

I decided to compare this value with the value on the Detail page

(chose the value on the chart to correspond to a 1 minute interval)

 

Screenshot_8.png

 

to my surprise, I saw a value of 562 which is not equal to that of the previous

what does it mean ?

 

I understand what the metric means - Number of calls to other services

its value can be seen in the service flow

 

 

Screenshot_10.png

 

I decided to compare this value with the value on custom charts 

took the interval from 11-00 to 11-30 

 

 

 

  • Request count - server  MAkimov_4-1618920042275.png

     

     

  • Request count - client MAkimov_1-1618919946862.png

     

  • Number of calls to other services MAkimov_2-1618919966949.png

     

 

 

result 

  • Request count - server = 92.6K
  • Request count - client  = 21.2K
  • Number of calls to other services  = 81K
  • ServiFlow Call to caller service = 77.1
  • ServiFlow Request =77,3

 

conclusions:

  • Request count  not equal ServiFlow Request
  • ServiFlow Call to caller service not equal Number of calls to other services 

 

Could you help me understand the difference between metrics

 

 

2 REPLIES 2

ChadTurner
Guru

This is the reply I got from Support: 

 

Request count - builtin:service.requestCount.total - Calculates the total # of requests from both the client and server side
 
Request count - server - builtin:service.requestCount.server - This Metric is exclusively regarding the # of requests from server side
 
Request count - client - builtin:service.requestCount.client - This Metric is exclusively regarding the # of requests from the client side
 
Number of calls to other services -builtin:service.keyRequest.nonDbChildCallCount - Assuming that this request will call other downstream services, this will also get you the total count 
-Chad

also forgot to mention for the last metric It refers to Key requests, not regular requests. 

-Chad