Skip to content

Commit

Permalink
6929 - fixing unit for runtime.jvm.gc.count (open-telemetry#6930)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterF778 committed Oct 21, 2022
1 parent 034cac3 commit 598ee82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void registerObservers(OpenTelemetry openTelemetry) {
.counterBuilder("runtime.jvm.gc.count")
.setDescription(
"The number of collections that have occurred for a given JVM garbage collector.")
.setUnit("collections")
.setUnit("{collections}")
.buildWithCallback(
resultLongObserver -> {
for (int i = 0; i < garbageCollectors.size(); i++) {
Expand Down

0 comments on commit 598ee82

Please sign in to comment.