Skip to content

Commit 1cc4080

Browse files
committed
Test fixed.
1 parent 8a9bb0f commit 1cc4080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/rules/TomcatIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private static MetricsVerifier createMetricsVerifier() {
117117
.hasDescription("The number of active sessions.")
118118
.hasUnit("{session}")
119119
.isUpDownCounter()
120-
.hasDataPointsWithOneAttribute(attributeWithAnyValue("tomcat.web_app_context")))
120+
.hasDataPointsWithOneAttribute(attributeWithAnyValue("tomcat.context")))
121121
.add(
122122
"tomcat.thread.count",
123123
metric ->

0 commit comments

Comments
 (0)