How the metrics being collected are aggregated: average or maximum?

Mar 9, 2021
2
1
6
27
I collect metrics so that I can analyse them as a time series. New values are sent to me every ten seconds. How are the data aggregated over these ten seconds so that I obtain a single total for this period - an average, maximum, or something else - is it?

Do you mean that the interval method, not the point method is used for data collection, is that correct?
 
Last edited:
I collect metrics so that I can analyse them as a time series. New values are sent to me every ten seconds. How are the data aggregated over these ten seconds so that I obtain a single total for this period - an average, maximum, or something else - is it?
With external metric servers there is no aggregation happening, we simply collect new samples every 10 seconds and send the most recent value. Aggregation only happens with the built-in metric database which powers the graphs in the UI. There we compute the average and maximum for a certain time window.

I hope this answers your question.
 
  • Like
Reactions: antonskalkin73
With external metric servers there is no aggregation happening, we simply collect new samples every 10 seconds and send the most recent value. Aggregation only happens with the built-in metric database which powers the graphs in the UI. There we compute the average and maximum for a certain time window.

I hope this answers your question.
Yes, you understood my question correctly. Thank you so much!

This will help me in understanding the creation of time series for further analysis.
 
  • Like
Reactions: Lukas Wagner
Do you mean that the interval method, not the point method is used for data collection, is that correct?
Keep also in mind that this depends heavily on the used metric you want to look at. There are absolute value metrics like the current cpu utilization (not load) and there are counters like the received/sent packages or in general the load value, that is itself already an average. The counters are always implicit average values over the aqcuisition interval, whereare the absolute values are just snapshots in time, which will give no indication what happened in the interval.
 
  • Like
Reactions: Johannes S