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

Is it possible to get timeseries data of specific Java method from API?

nkobayashi1
Helper

Hi,

Could you tell me whether it is possible to get timeseries data(especially duration) of specific Java method from API?

Thanks,
Noah


2 REPLIES 2

wolfgang_beer
Dynatrace Champion
Dynatrace Champion

With a Java method you most likely mean a web request service method? If yes you can subscribe them as a 'key transaction' and then you get the metrics for that specific method through the timeseries API by selecting any of the 'servicemethod' related timeseries ids.

As there are:

com.dynatrace.builtin:servicemethod.client_side_requestsService method client-side requestsCount (count)COUNT
com.dynatrace.builtin:servicemethod.clientsidefailurerateClient side error countPercent (%)AVG, SUM, MIN, MAX
com.dynatrace.builtin:servicemethod.errorcounthttp4xxHTTP 4xx error countCount (count)
com.dynatrace.builtin:servicemethod.errorcounthttp5xxHTTP 5xx error countCount (count)
com.dynatrace.builtin:servicemethod.requestsService method requestsCount (count)COUNT
com.dynatrace.builtin:servicemethod.requestsperminService method requests per minutePerMinute (count/min)COUNT
com.dynatrace.builtin:servicemethod.responsetimeMethod response timeMicroSecond (µs)AVG, SUM, MIN, MAX, MEDIAN, PERCENTILE
com.dynatrace.builtin:servicemethod.server_side_requestsService method server-side requestsCount (count)COUNT
com.dynatrace.builtin:servicemethod.serversidefailurerateServer side error countPercent (%)AVG, SUM, MIN, MAX

I mean that any methods that the customer wants to get not only web request service method.
Is it possible?
Anyway, your answer is helpful.