Skip to content

Commit d10961d

Browse files
committed
Enable embedded mode for JMXFetch
1 parent ca17f11 commit d10961d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • dd-java-agent/agent-jmxfetch/src/main/java/datadog/trace/agent/jmxfetch

dd-java-agent/agent-jmxfetch/src/main/java/datadog/trace/agent/jmxfetch/JMXFetch.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ private static void run(final Config config) {
7373
.action(Collections.singletonList(ACTION_COLLECT))
7474
// App should be run as daemon otherwise CLI apps would not exit once main method exits.
7575
.daemon(true)
76+
.embedded(true)
7677
.confdDirectory(jmxFetchConfigDir)
7778
.yamlFileList(jmxFetchConfigs)
7879
.targetDirectInstances(true)

0 commit comments

Comments
 (0)