-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add unit suffixes to prometheus metric names
- Loading branch information
Showing
8 changed files
with
127 additions
and
54 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# HELP foo a simple counter | ||
# TYPE foo counter | ||
foo{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP foo_milliseconds a simple counter | ||
# TYPE foo_milliseconds counter | ||
foo_milliseconds{A="B",C="D",E="true",F="42"} 24.3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# HELP bar a fun little gauge | ||
# TYPE bar counter | ||
bar{A="B",C="D"} 75 | ||
# HELP bar_ratio a fun little gauge | ||
# TYPE bar_ratio counter | ||
bar_ratio{A="B",C="D"} .75 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# HELP histogram_baz a very nice histogram | ||
# TYPE histogram_baz histogram | ||
histogram_baz_bucket{A="B",C="D",le="0"} 0 | ||
histogram_baz_bucket{A="B",C="D",le="5"} 0 | ||
histogram_baz_bucket{A="B",C="D",le="10"} 1 | ||
histogram_baz_bucket{A="B",C="D",le="25"} 2 | ||
histogram_baz_bucket{A="B",C="D",le="50"} 2 | ||
histogram_baz_bucket{A="B",C="D",le="75"} 2 | ||
histogram_baz_bucket{A="B",C="D",le="100"} 2 | ||
histogram_baz_bucket{A="B",C="D",le="250"} 4 | ||
histogram_baz_bucket{A="B",C="D",le="500"} 4 | ||
histogram_baz_bucket{A="B",C="D",le="1000"} 4 | ||
histogram_baz_bucket{A="B",C="D",le="+Inf"} 4 | ||
histogram_baz_sum{A="B",C="D"} 236 | ||
histogram_baz_count{A="B",C="D"} 4 | ||
# HELP histogram_baz_bytes a very nice histogram | ||
# TYPE histogram_baz_bytes histogram | ||
histogram_baz_bytes_bucket{A="B",C="D",le="0"} 0 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="5"} 0 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="10"} 1 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="25"} 2 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="50"} 2 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="75"} 2 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="100"} 2 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="250"} 4 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="500"} 4 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="1000"} 4 | ||
histogram_baz_bytes_bucket{A="B",C="D",le="+Inf"} 4 | ||
histogram_baz_bytes_sum{A="B",C="D"} 236 | ||
histogram_baz_bytes_count{A="B",C="D"} 4 |