Skip to content

Commit 16e84dd

Browse files
committed
remove default adding of otel
1 parent 57c071c commit 16e84dd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/com/uber/cadence/worker/Worker.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ public final class Worker implements Suspendable {
8686
.tagged(ImmutableMap.of(MetricsTag.TASK_LIST, taskList));
8787
contextPropagators = new ArrayList<>(contextPropagators);
8888

89-
// Add the OpenTelemetry propagator if it's not already there
90-
OpenTelemetryContextPropagator otelPropagator = new OpenTelemetryContextPropagator();
91-
if (!contextPropagators.contains(otelPropagator)) {
92-
contextPropagators.add(otelPropagator);
93-
}
94-
9589
SingleWorkerOptions activityOptions =
9690
SingleWorkerOptions.newBuilder()
9791
.setIdentity(client.getOptions().getIdentity())

0 commit comments

Comments
 (0)