File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
agent-debugger/src/main/java/com/datadog/debugger/probe
synapse-3.0/src/main/java/datadog/trace/instrumentation/synapse3 Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ public void evaluate(
504504 LogStatus logStatus = (LogStatus ) status ;
505505 if (!hasCondition ()) {
506506 if (singleProbe ) {
507- // sampling was already done in isReadToCapture so we assume that if we are executing the
507+ // sampling was already done in isReadyToCapture so we assume that if we are executing the
508508 // current method it means the status should be sampled
509509 if (!logStatus .getDebugSessionStatus ().isDisabled ()) {
510510 logStatus .setSampled (true );
Original file line number Diff line number Diff line change 44 module = " connect-runtime"
55 versions = " [0.11.0.0,)"
66 javaVersion = " 17"
7+ excludeDependency " io.confluent.cloud:*"
8+ excludeDependency " io.confluent.observability:*"
9+ excludeDependency " io.confluent.secure.compute:*"
710 assertInverse = true
811 }
912}
Original file line number Diff line number Diff line change 22
33import static datadog .trace .agent .tooling .bytebuddy .matcher .NameMatchers .named ;
44import static datadog .trace .agent .tooling .bytebuddy .matcher .NameMatchers .namedOneOf ;
5+ import static datadog .trace .bootstrap .instrumentation .api .Java8BytecodeBridge .getRootContext ;
56import static datadog .trace .bootstrap .instrumentation .api .Java8BytecodeBridge .spanFromContext ;
67import static datadog .trace .instrumentation .synapse3 .SynapseServerDecorator .DECORATE ;
78import static datadog .trace .instrumentation .synapse3 .SynapseServerDecorator .SYNAPSE_CONTEXT_KEY ;
@@ -125,7 +126,7 @@ public static void errorResponse(
125126 @ Advice .Argument (value = 1 , optional = true ) final Object error ) {
126127 // check and remove context so it won't be finished twice
127128 Context context = (Context ) connection .getContext ().removeAttribute (SYNAPSE_CONTEXT_KEY );
128- if (null != context && context != Context . root ()) {
129+ if (null != context && context != getRootContext ()) {
129130 AgentSpan span = spanFromContext (context );
130131 if (null != span ) {
131132 if (error instanceof Throwable ) {
You can’t perform that action at this time.
0 commit comments