diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java index 84e619f719f0a..acd374bc50c8a 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java @@ -558,9 +558,10 @@ public WorkflowState getState() { @Trace(operationName = WORKFLOW_TRACE_OPERATION_NAME) @Override public JobInformation getJobInformation() { + traceConnectionId(); final Long jobId = workflowInternalState.getJobId() != null ? workflowInternalState.getJobId() : NON_RUNNING_JOB_ID; final Integer attemptNumber = workflowInternalState.getAttemptNumber(); - ApmTraceUtils.addTagsToTrace(Map.of(CONNECTION_ID_KEY, connectionId, JOB_ID_KEY, jobId)); + ApmTraceUtils.addTagsToTrace(Map.of(JOB_ID_KEY, jobId)); return new JobInformation( jobId, attemptNumber == null ? NON_RUNNING_ATTEMPT_ID : attemptNumber);