Skip to content

Commit 99ec036

Browse files
authored
Merge branch 'master' into PROF-13025
2 parents 076a11c + 2b04c87 commit 99ec036

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/probe/LogProbe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

dd-java-agent/instrumentation/kafka/kafka-connect-0.11/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ muzzle {
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
}

dd-java-agent/instrumentation/synapse-3.0/src/main/java/datadog/trace/instrumentation/synapse3/SynapseServerInstrumentation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.named;
44
import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.namedOneOf;
5+
import static datadog.trace.bootstrap.instrumentation.api.Java8BytecodeBridge.getRootContext;
56
import static datadog.trace.bootstrap.instrumentation.api.Java8BytecodeBridge.spanFromContext;
67
import static datadog.trace.instrumentation.synapse3.SynapseServerDecorator.DECORATE;
78
import 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) {

0 commit comments

Comments
 (0)