Skip to content

Commit 52ff787

Browse files
committed
[jmx-scraper] Create weaver model for jmx-scraper metrics #2072
- fixed the updated desc in JvmIntegrationTest
1 parent 5ceb8e5 commit 52ff787

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/target_systems/JvmIntegrationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,23 @@ protected MetricsVerifier createMetricsVerifier() {
9090
"jvm.memory.heap.committed",
9191
metric ->
9292
metric
93-
.hasDescription("current heap usage")
93+
.hasDescription("current heap size")
9494
.hasUnit("By")
9595
.isGauge()
9696
.hasDataPointsWithoutAttributes())
9797
.add(
9898
"jvm.memory.heap.init",
9999
metric ->
100100
metric
101-
.hasDescription("current heap usage")
101+
.hasDescription("initial heap size")
102102
.hasUnit("By")
103103
.isGauge()
104104
.hasDataPointsWithoutAttributes())
105105
.add(
106106
"jvm.memory.heap.max",
107107
metric ->
108108
metric
109-
.hasDescription("current heap usage")
109+
.hasDescription("max heap size")
110110
.hasUnit("By")
111111
.isGauge()
112112
.hasDataPointsWithoutAttributes())

0 commit comments

Comments
 (0)