This repository has been archived by the owner on Nov 14, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert rabbitmq_raft_entry_commit_latency to gauge & fix conversion
It behaves as a gauge when metrics are not aggregated, which is not what we want. It's either a histogram, or it's a gauge, but it doesn't change type based on whether we are aggregating metrics or not. To be honest, I rushed #28 acceptance and didn't check this metric type propertly. Hoping to pair-up with @dcorbacho on this and getting the histogram back. For now, let's keep it a gauge and go forward with the metric aggregation back-port into v3.8.x. Because the change from millis to micros was a breaking change in rabbitmq/ra#160, it was reverted, so we had to fix (missed the undefined in one of the merges - whoops) and revert to millis. Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
- Loading branch information
Showing
2 changed files
with
14 additions
and
25 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