When we have a metric with response times, it might be an average or median for a certain period of time, like one minute, but it is calculated regarding the number of requests made.
Say, that in one minute we had 10 requests with one second, and then the next minute we had 5 requests with half a second. Considering averages, if we did an aggregation for the two minutes, we would have an average of 0.833s=(10x1+5x0.5)/15
But, if we don't consider the number of requests, and we simply average the two minutes, we get 0.75s.
Values might vary more or less, of course...
The latter is what we get when we feed a response time into a metric in Dynatrace, and then do some type of aggregation afterwards. Is there a way to define/insert a response time metric with consideration of the quantity of requests made?
Solved! Go to Solution.
I have figured this one by myself 😁 You have to use statistic summaries for the metrics being ingested. A good description is given in https://www.dynatrace.com/support/help/extend-dynatrace/extend-metrics/reference/metric-ingestion-pr...
I have done statistical analysis on the data, and while my old data would not aggregate correctly, now it does 😃