We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2075314 commit f9841f2Copy full SHA for f9841f2
jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/JmxConnectionTest.java
@@ -118,7 +118,9 @@ private static JmxScraperContainer scraperContainer() {
118
return new JmxScraperContainer(DUMMY_OTLP_ENDPOINT, SCRAPER_BASE_IMAGE)
119
.withLogConsumer(new Slf4jLogConsumer(jmxScraperLogger))
120
.withNetwork(network)
121
+ // mandatory to have a target system even if we don't collect metrics
122
.withTargetSystem("jvm")
123
+ // we are only testing JMX connection here
124
.withTestJmx();
125
}
126
0 commit comments