Skip to content

Commit 965881e

Browse files
Copilottrask
andcommitted
Fix DB connection pool test assertion for state attribute description
Co-authored-by: trask <[email protected]>
1 parent 366bf42 commit 965881e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/db/DbConnectionPoolMetricsAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private void verifyUsageMetric(MetricData metric) {
137137
assertThat(metric)
138138
.hasUnit(emitStableDatabaseSemconv() ? "{connection}" : "{connections}")
139139
.hasDescription(
140-
"The number of connections that are currently in state described by the state attribute.")
140+
"The number of connections that are currently in state described by the `state` attribute.")
141141
.hasLongSumSatisfying(
142142
sum ->
143143
sum.isNotMonotonic()

0 commit comments

Comments
 (0)