Skip to content

Commit f46671b

Browse files
committed
fix smoke tests
1 parent 0f64a73 commit f46671b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smoke-tests-otel-starter/spring-boot-common/src/main/java/io/opentelemetry/spring/smoketest/AbstractOtelSpringStarterSmokeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void shouldSendTelemetry() {
224224
boolean noNative = System.getProperty("org.graalvm.nativeimage.imagecode") == null;
225225
if (noNative) {
226226
// GraalVM native image does not support buffer pools - have to investigate why
227-
jmxMetrics.add("jvm.buffer.memory.usage");
227+
jmxMetrics.add("jvm.buffer.memory.used");
228228
}
229229
jmxMetrics.forEach(
230230
metricName ->

0 commit comments

Comments
 (0)