Hi everyone,

With Prometheus v2.17.0 queries can only see full scrapes, but they
could still access inconsistent data if the scrape itself is inconsistent.

This needs to be prevented at the target side. Thanks to Björn the
Prometheus Golang client prevents this for histograms by introducing the
notion of a hot and a cold shard preventing collect and observe calls to
interleave [1].

I have ported this mechanism to the Prometheus Rust client. Given that
it is a rather involved patch I would very much appreciate any
additional reviewers. The more eyes the better.

https://github.com/tikv/rust-prometheus/pull/314

Thanks for the help.
Max

---

[1] https://github.com/prometheus/client_golang/pull/457

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" 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-developers/269e9509-16a2-4e87-99c4-76249bfd164f%40gmail.com.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to