Skip to content

Commit 687002c

Browse files
committed
Spotless fix
1 parent 036ea99 commit 687002c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/target_systems/TomcatIntegrationTest.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ protected MetricsVerifier createMetricsVerifier() {
8585
attribute("proto_handler", "\"http-nio-8080\"")),
8686
attributeGroup(
8787
attribute("direction", "received"),
88-
attribute("proto_handler", "\"http-nio-8080\""))
89-
90-
))
88+
attribute("proto_handler", "\"http-nio-8080\""))))
9189
.add(
9290
"tomcat.threads",
9391
metric ->
@@ -101,9 +99,7 @@ protected MetricsVerifier createMetricsVerifier() {
10199
attribute("proto_handler", "\"http-nio-8080\"")),
102100
attributeGroup(
103101
attribute("state", "busy"),
104-
attribute("proto_handler", "\"http-nio-8080\""))
105-
106-
))
102+
attribute("proto_handler", "\"http-nio-8080\""))))
107103
.add(
108104
"tomcat.max_time",
109105
metric ->
@@ -119,6 +115,7 @@ protected MetricsVerifier createMetricsVerifier() {
119115
.hasDescription("The total requests")
120116
.hasUnit("requests") // TODO: not aligned with semconv. Should be "{request}"
121117
.isCounter()
122-
.hasDataPointsWithOneAttribute(attribute("proto_handler", "\"http-nio-8080\"")));
118+
.hasDataPointsWithOneAttribute(
119+
attribute("proto_handler", "\"http-nio-8080\"")));
123120
}
124121
}

0 commit comments

Comments
 (0)