Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument Gradle Launcher instead of directly instrumenting Gradle Daemon (to preserve org.gradle.jvmargs if it is specified) #11

Merged

Conversation

nikita-tkachenko-datadog
Copy link
Collaborator

What does this PR do?

Updates instrumentation logic for Gradle so that the Java tracer is injected into the Gradle Launcher instead of the Gradle Daemon: injecting the tracer into the daemon required overwriting its org.gradle.jvmargs system property which cancelled out whatever settings the user specified for the Gradle Daemon JVM (see DataDog/dd-trace-java#8001 for more details).

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

…aemon (to preserve org.gradle.jvmargs if it is specified)
@nikita-tkachenko-datadog nikita-tkachenko-datadog merged commit a0c4bfb into main Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants