On 10.04.20 05:29, Damian Kamiński wrote: > > > Label and row ordering doesn't really matter. > > According to Prometheus docs: "The buckets of a histogram and the quantiles of > a summary must appear in increasing numerical order of their label values (for > the le or the quantile label, respectively)." > Source: https://prometheus.io/docs/instrumenting/exposition_formats/# > histograms-and-summaries > > Is documentation wrong in that case?
The documentation is probably "right" as in "a consumer has the right to reject your histogram if it doesn't follow the documentation". Having said that, the Prometheus server might still try to be nice and interprete your input in a meaningful way. Cf. https://en.wikipedia.org/wiki/Robustness_principle (which also includes the problems with that – something that seems to just work might suddenly get its faults exposed when it needs to talk to a less tolerant consumer). -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] [email protected] -- 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/20200414180659.GH2315%40jahnn.

