13 Jul 2018 05:15 PM - last edited on 25 May 2021 03:11 PM by MaciejNeumann
Hi All,
I have a requirement to find the count of peak hour search volume. We used to have it in AppMon and we migrated to Dynatrace now and we are missing this function. Currently Dynatrace provides number of requests per minute but I'm not able to find hourly max kind of things. I tried with Dynatrace API and it's not working out as per my requirement.
Can anyone help with this?
Regards
Muthu
Solved! Go to Solution.
13 Jul 2018 08:16 PM
Hi Muthu,
Have you tried using the timeseries com.dynatrace.builtin:service.requests with the COUNT aggregation? This should give you the volume for the time-frame you want.
Thanks
NJ
14 Jul 2018 05:15 PM
Hi Ugochukwu,
Thank you for your reply. I'm trying with the same timeseries com.dynatrace.builtin:servicemethod.server_side_requests with the aggregation as COUNT. Along with that I'm including the relativeTime as week. It is returning the results on hourly basis. In the query I'm adding queryMode=max to list only the max value but the filter is not returning only max instead lists values of all hours in that day.
I would like to list only the max count in a particular hour for that day. Is there anything you can suggest on this?
Thanks
Muthu
16 Jul 2018 06:38 AM
Your request returned each MAX value for each of the hours within the series. If you would like to get a single value for max in a week you have to use parameter aggregationType=max and queryMode=total
17 Jul 2018 11:57 AM
Hi Wolfgang, when I change the aggreationType=max and queryMode=total, the API is failing says "The aggregation type is not allowed for the given timeseries id."
12 Oct 2018 02:12 PM
Hi,
Muthukumar P.,
For timeseries type requests only aggregationType=COUNT is available for Services Built-in metrics. That's why you have this error message.
I have investigate to find a solution for your request "I would like to list only the max count in a particular hour for that day.". In my opinion Dynatrace API don't give that possibility for the moment.