21 May 2022 11:50 AM - last edited on 23 May 2022 10:39 AM by MaciejNeumann
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.
21 Jun 2022 07:49 PM
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 😃
28 Jan 2023 05:46 PM
I have same issue. Can you show as an example, please?
28 Jan 2023 06:07 PM
First of all, for this to work, you have to ingest it via the metric ingestion protocol, with the gauge format. In the link provided before, there are examples of the gauge format.