-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the naming for Metrics as per convention
Most of the metrics aren't as per convention. This fixes it in a backward compatible way. We introduce metrics with compliant naming. Gauge metrics: Gauge metrics shouldn't end with `count` as it implies a counter. Counter metrics: Counter metrics shouldn't end with `count` as it implies a counter from histogram. Instead, we should use `total`. https://prometheus.io/docs/practices/naming/ https://www.robustperception.io/on-the-naming-of-things/
- Loading branch information
1 parent
b7abe37
commit 4203fbd
Showing
5 changed files
with
144 additions
and
18 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
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