On Thu, Sep 9, 2021 at 10:42 AM José San Gil <[email protected]> wrote:

> increase(operation_x_bucket{operationType="TypeA", le="+Inf"}[24h]), I'd
> be getting the total number of observations of the bucket for that specific
> operationType in the last 24h. Is that correct?
>
> The problem is the that the values I get are significantly lower than
> reality for a period of let's say 24 hours. I thought that maybe he buckets
> might not behave as a regular counter To view this discussion on the web
> visit
> https://groups.google.com/d/msgid/prometheus-users/CAOULDYmnSbgvJuHpso7t53gTB0GusvxGk2SiQDGChsVzy3hXeA%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CAOULDYmnSbgvJuHpso7t53gTB0GusvxGk2SiQDGChsVzy3hXeA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

The issue may be related to the fact that increase() in Prometheus may
perform extrapolation in some cases, so the end result might be slightly
different than expected. See
https://github.com/prometheus/prometheus/issues/3746 for details.

-- 
Best Regards,

Aliaksandr Valialkin, CTO VictoriaMetrics

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAPbKnmAgE5hCOE1f88FMUS8%2BRXr31%3DxZRY4W3gnM%3Ds%3D0CS%3DdfA%40mail.gmail.com.

Reply via email to