-
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 _total suffixes to prometheus counters (#3360)
- Loading branch information
Showing
8 changed files
with
29 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# HELP foo a simple counter | ||
# TYPE foo counter | ||
foo{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP foo_total a simple counter | ||
# TYPE foo_total counter | ||
foo_total{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP target_info Target metadata | ||
# TYPE target_info gauge | ||
target_info{service_name="prometheus_test",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="latest"} 1 |
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,6 +1,6 @@ | ||
# HELP foo a simple counter | ||
# TYPE foo counter | ||
foo{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP foo_total a simple counter | ||
# TYPE foo_total counter | ||
foo_total{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP target_info Target metadata | ||
# TYPE target_info gauge | ||
target_info{A="B",C="D",service_name="prometheus_test",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="latest"} 1 |
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,6 +1,6 @@ | ||
# HELP foo a simple counter | ||
# TYPE foo counter | ||
foo{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP foo_total a simple counter | ||
# TYPE foo_total counter | ||
foo_total{A="B",C="D",E="true",F="42"} 24.3 | ||
# HELP target_info Target metadata | ||
# TYPE target_info gauge | ||
target_info 1 |
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,6 +1,7 @@ | ||
# HELP foo a sanitary counter | ||
# TYPE foo counter | ||
foo{A_B="Q",C_D="Y;Z"} 24.3 | ||
# HELP foo_total a sanitary counter | ||
# TYPE foo_total counter | ||
foo_total{A_B="Q",C_D="Y;Z"} 24.3 | ||
# HELP target_info Target metadata | ||
# TYPE target_info gauge | ||
target_info{service_name="prometheus_test",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="latest"} 1 | ||
|
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_total a simple counter | ||
# TYPE foo_total counter | ||
foo_total{A="B",C="D",E="true",F="42"} 24.3 |