02 Aug 2018 05:45 AM
Hi,
Could you tell me whether it is possible to get timeseries data(especially duration) of specific Java method from API?
Thanks,
Noah
Solved! Go to Solution.
02 Aug 2018 06:57 AM
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_requests | Service method client-side requests | Count (count) | COUNT |
com.dynatrace.builtin:servicemethod.clientsidefailurerate | Client side error count | Percent (%) | AVG, SUM, MIN, MAX |
com.dynatrace.builtin:servicemethod.errorcounthttp4xx | HTTP 4xx error count | Count (count) | |
com.dynatrace.builtin:servicemethod.errorcounthttp5xx | HTTP 5xx error count | Count (count) | |
com.dynatrace.builtin:servicemethod.requests | Service method requests | Count (count) | COUNT |
com.dynatrace.builtin:servicemethod.requestspermin | Service method requests per minute | PerMinute (count/min) | COUNT |
com.dynatrace.builtin:servicemethod.responsetime | Method response time | MicroSecond (µs) | AVG, SUM, MIN, MAX, MEDIAN, PERCENTILE |
com.dynatrace.builtin:servicemethod.server_side_requests | Service method server-side requests | Count (count) | COUNT |
com.dynatrace.builtin:servicemethod.serversidefailurerate | Server side error count | Percent (%) | AVG, SUM, MIN, MAX |
02 Aug 2018 07:28 AM
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.