Skip to content

Commit 2661e02

Browse files
committed
fix test
1 parent 374b3ed commit 2661e02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jmx-metrics/src/integrationTest/java/io/opentelemetry/contrib/jmxmetrics/target_systems/JvmTargetSystemIntegrationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ void endToEnd() {
5555
metric -> assertGauge(metric, "jvm.memory.nonheap.init", "current non-heap usage", "By"),
5656
metric -> assertGauge(metric, "jvm.memory.nonheap.max", "current non-heap usage", "By"),
5757
metric -> assertGauge(metric, "jvm.memory.nonheap.used", "current non-heap usage", "By"),
58-
metric -> assertGauge(metric, "jvm.runtime.uptime", "uptime", "ms"),
59-
metric -> assertGauge(metric, "jvm.fd.open", "open file descriptors", "1"),
58+
metric -> assertGauge(metric, "jvm.file_descriptor.count", "open file descriptors", "1"),
6059
metric ->
6160
assertTypedGauge(
6261
metric, "jvm.memory.pool.committed", "current memory pool usage", "By", gcLabels),

0 commit comments

Comments
 (0)