13 Jul 2018 09:15 AM - last edited on 25 May 2021 07:11 AM by MaciejNeumann
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?
Solved! Go to Solution.
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?
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
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."
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.