printer: (fix) format float to avoid overflow#16083
Conversation
Signed-off-by: giulianopz <panzironi.giuliano@gmail.com>
* Upgrade mimir-prometheus * Adjust tests to match new pretty printing format in prometheus/prometheus#16083 * Fix breaking change from prometheus/prometheus#16156 * Upgrade to github.com/oklog/ulid/v2 (prometheus/prometheus#16168) * Bring in changes from prometheus/prometheus#16199 * Remove OOO native histograms flag (prometheus/prometheus#16207) * Add changelog entries * Ignore deprecation warning for `model.NameValidationScheme` * Remove outdated native histogram OOO integration test
|
@giulianopz @bwplotka Hi, what caused this change? What was the risk of overflow this change suppresses? I try to understand because I use
NB: even now, the format function can modify a value: It looks like I'm not the only one to expect the PromQL format to be consistent: Mimir also updated their tests after this PR: e.g. grafana/mimir@90819e3 |
|
Hi @olivierlemasle, sorry for my bad English (and thinking): what I meant to say is that relying on I understand that this is questionable. I apologise if I caused any unnecessary changes to you. @bwplotka, feel free to revert this commit if not needed/wanted. |
No description provided.