-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: expose fsync latency as prometheus histogram
Previously, the fsync latency was computed using an HDR histogram however this histogram generated too many buckets of various widths. As a result, a prometheus histogram was chosen instead. In addition, the metrics were being accumulated and stored on each `LogWriter` and then merged into the cumulative metrics on each WAL rotation. However, with this new promethesus histogram the writes occur to the same histogram and are separate from the lifetime of the WAL. Additonally, remove all the callback listeners and configurations for the callback based approach introduced in: 5fdb3ea
- Loading branch information
1 parent
b6b30d5
commit fbe8309
Showing
10 changed files
with
592 additions
and
79 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
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
Oops, something went wrong.