Yes, Prometheus uses "Double Delta" and other compression techniques to
reduce these to a few bits per sample.

There's a good video about this: https://youtu.be/b_pEevMAC3I

On Fri, Jan 15, 2021 at 3:03 PM John Dexter <[email protected]> wrote:

> I have a counter metric with a label which has quite a few possible
> values. However in reality many of these labeled metrics change very rarely
> and some of them might never change depending on the system.
> Does Prometheus intelligently handle storage in such cases? i.e. only
> record changes to values so I don't have millions of copies of "0.0"
> recorded each poll?
>
> Thanks.
>
> --
> 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/CAGJRanghFRKz-46BRhSh5K8kmQycKzqboQonL7rcnhWtXs6yxw%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CAGJRanghFRKz-46BRhSh5K8kmQycKzqboQonL7rcnhWtXs6yxw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABbyFmrcnvKb1YGut75zeNDibSAiLrxTEnQ48sJqcDhMS5bMSQ%40mail.gmail.com.

Reply via email to