-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Ensure there's always a . or e in floats. (#162)"
This reverts commit 67670fe. The format change wreaks havoc with histograms if you have a mixed set of monitored targets. `histogram_quantile` spits out weird values, which are difficult to diagnose. A developer team here at SoundCloud pulled in the current version of prometheus/common via a different indirect dependency than prometheus/client_golang. (client_golang alone would not pull it in yet if you are using Go modules.) Canary instances then had the newer prometheus/common, while the normal production instances had not. The calculated quantiles for the complete service jumped up dramatically, so the team rolled back and started to look for a performance regression. (Just looking at the canary alone still worked, but since nobody suspected this kind of monitoring failure case, the investigation went totally the wrong way.) Given the wide distribution of prometheus/client_golang and the way Go modules work, we will see many of those innocuous upgrades that suddenly change the `le` values on new deployments. Since this change is buried behind dependencies, users will run into this problem without suspecting it, even if we announce it very loud and clearly in prometheus/common or even prometheus/client_golang. For now, we have to revert the change and then think about a way to mitigate it. I'm thinking of sanitizing `le` values in Prometheus 2.x. But let's think of it without haste. Signed-off-by: beorn7 <[email protected]>
- Loading branch information
beorn7
committed
Jan 23, 2019
1 parent
2998b13
commit 0c04638
Showing
2 changed files
with
21 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters