Fix metric unit in BufferPoolsTest
MODIFY
instrumentation/runtime-metrics/library/src/test/java/io/opentelemetry/instrumentation/runtimemetrics/BufferPoolsTest.java
instrumentation/runtime-metrics/library/src/test/java/io/opentelemetry/instrumentation/runtimemetrics/BufferPoolsTest.java
@@ -102,7 +102,7 @@ public class BufferPoolsTest {
assertThat(metricData)
.hasInstrumentationScope(EXPECTED_SCOPE)
.hasDescription("The number of buffers in the pool")
- .hasUnit("buffers")
+ .hasUnit("{buffers}")
.hasLongSumSatisfying(
sum ->
sum.hasPointsSatisfying(

Fix metric unit in BufferPoolsTest (#6953)