-
Notifications
You must be signed in to change notification settings - Fork 291
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
Appsec: create top span for process executions #3932
Conversation
dd98672
to
f5881b0
Compare
...roovy/datadog/trace/instrumentation/java/lang/ProcessImplInstrumentationSpecification.groovy
Show resolved
Hide resolved
...java-lang/src/main/java8/datadog/trace/instrumentation/java/lang/ProcessImplStartAdvice.java
Outdated
Show resolved
Hide resolved
...java-lang/src/main/java8/datadog/trace/instrumentation/java/lang/ProcessImplStartAdvice.java
Outdated
Show resolved
Hide resolved
f5881b0
to
0694c11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Let's get some feedback from APM folks too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, and I think that the instrumentation doesn't need to be confined to AppSec. I'm not sure if it can be enabled by default until there is some sort of redaction implemented though.
Since this is instrumenting a class inside the bootstrap class loader, I think that the helpers need to be moved like they were for the shut down instrumentation #3913
d3410f2
to
9d457e2
Compare
dd-java-agent/appsec/src/main/java/com/datadog/appsec/AppSecSystem.java
Outdated
Show resolved
Hide resolved
9d457e2
to
43293fe
Compare
43293fe
to
08778b8
Compare
678ebe0
to
36f2456
Compare
36f2456
to
308f4fd
Compare
What Does This Do
Adds a span for process executions. See the doc "Shell Execution Integration" for the spec. Redactions are not implemented.