On 10.04.24 11:40, 'Fabian Stäber' via Prometheus Developers wrote:
> 
> I'm wondering about backwards compatibility: What happens if I push a 
> histogram (by default it's both classic and native representation) to an 
> old Pushgateway that does not have native histogram support? If the native 
> histogram representation just gets silently dropped that would be perfect, 
> then I can just do it and not care about backwards compatibility. Is that 
> the case, or could there be compatibility issues with older Pushgateways?

The native histogram support for PGW is tracked in
https://github.com/prometheus/pushgateway/issues/515

IIRC the only thing that is really needed (and what Jan is currently
working on) is essentially UI.

The "backend" support always worked. So if you push a protobuf
message, it will be stored as-is, and also exposed as you would
expect. Even the oldest PGW releases therefore implicitly support
native histograms. If you push a protobuf with classic and native
buckets, both will be stored and both will be exposed.

That's the current understanding. If you encounter any other behavior,
please let us know (maybe in the aforementioned issue).
-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] [email protected]

-- 
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/Zhe9Sw0ShsPS99a6%40mail.rabenste.in.

Reply via email to