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 authored and dmarkwat committed Oct 22, 2022
1 parent f44028b commit 8cafbb1
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 8cafbb1

Please sign in to comment.