Skip to content

Commit fd44b57

Browse files
committed
remove print line and fix scope
1 parent 308f6a8 commit fd44b57

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

instrumentation/camunda/camunda-7.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/camunda/v7_0/behavior/CamundaExternalTaskActivityBehaviorInstrumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static class CamundaExternalTaskActivityBehaviorAdvice {
5555
public static void addTracingEnter(
5656
@Advice.Argument(0) ActivityExecution execution,
5757
@Advice.Local("request") CamundaCommonRequest request,
58+
@Advice.Local("otelParentScope") Scope parentScope,
5859
@Advice.Local("otelParentContext") Context parentContext,
5960
@Advice.Local("otelContext") Context context,
6061
@Advice.Local("otelScope") Scope scope) {

instrumentation/camunda/camunda-7.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/camunda/v7_0/jobs/CamundaAsyncContinuationJobHandlerInstrumentation.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ public static void addTracingEnter(
9292
if (getInstumenter().shouldStart(Java8BytecodeBridge.currentContext(), request)) {
9393
context = getInstumenter().start(Java8BytecodeBridge.currentContext(), request);
9494
scope = context.makeCurrent();
95-
96-
} else {
97-
System.out.println("Unable to start telemetry for process " + processInstanceId);
9895
}
9996
}
10097

0 commit comments

Comments
 (0)