DataDog / test-visibility-github-action

GitHub Action that installs Datadog Test Visibility
Apache License 2.0
3 stars 1 forks source link

Add optional input to allow fine-grained Java processes instrumentation #10

Closed nikita-tkachenko-datadog closed 1 month ago

nikita-tkachenko-datadog commented 1 month ago

What does this PR do?

By default the action instruments every Java process. There are currently some unresolved issue in the Java tracer that lead to certain utility processes (such as Byte Buddy agent external instrumentation) getting stuck when instrumented.

This PR adds optional java-instrumented-build-system input that lets the user tell the script to only instrument specific processes (such as Maven or Gradle builds). This workaround will help to avoid instrumenting extra processes until the issues in the tracer are resolved.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes