Skip to content

Commit

Permalink
Fix auto-instrumentation to inject tracer into Gradle Launcher instea…
Browse files Browse the repository at this point in the history
…d of Gradle Daemon
  • Loading branch information
nikita-tkachenko-datadog committed Nov 25, 2024
1 parent 68b6501 commit 9101949
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private static Map<String, String> getEnvVariables(DatadogTracerJobProperty<?> t
variables.put("MAVEN_OPTS", PropertyUtils.prepend(envs, "MAVEN_OPTS", tracerAgent));
variables.put("SBT_OPTS", PropertyUtils.prepend(envs, "SBT_OPTS", tracerAgent));
variables.put("ANT_OPTS", PropertyUtils.prepend(envs, "ANT_OPTS", tracerAgent));
variables.put("GRADLE_OPTS", PropertyUtils.prepend(envs, "GRADLE_OPTS", "-Dorg.gradle.jvmargs=" + tracerAgent));
variables.put("GRADLE_OPTS", PropertyUtils.prepend(envs, "GRADLE_OPTS", tracerAgent));

String proxyConfiguration = getProxyConfiguration(tracerConfig, node);
if (proxyConfiguration != null) {
Expand Down

0 comments on commit 9101949

Please sign in to comment.