The quantiles are calculated over a sliding window of time. There are two options to configure this time window:
maxAgeSeconds: Long - Set the duration of the time window is, i.e. how long observations are kept before they are discarded.
Default is 10 minutes.
ageBuckets: Int - Set the number of buckets used to implement the sliding time window. If your time window is 10 minutes, and you have ageBuckets=5,
buckets will be switched every 2 minutes. The value is a trade-off between resources (memory and cpu for maintaining the bucket)
and how smooth the time window is moved. Default value is 5.
See https://prometheus.io/docs/practices/histograms/ for more info on quantiles.
Summary metric, to track the size of events.
The quantiles are calculated over a sliding window of time. There are two options to configure this time window:
maxAgeSeconds: Long - Set the duration of the time window is, i.e. how long observations are kept before they are discarded. Default is 10 minutes.
ageBuckets: Int - Set the number of buckets used to implement the sliding time window. If your time window is 10 minutes, and you have ageBuckets=5, buckets will be switched every 2 minutes. The value is a trade-off between resources (memory and cpu for maintaining the bucket) and how smooth the time window is moved. Default value is 5.
See https://prometheus.io/docs/practices/histograms/ for more info on quantiles.