File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
airbyte-workload-launcher/src/main/kotlin/pipeline Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class LaunchPipeline(
42
42
// scheduler (see the fromExecutorService method on Schedulers).
43
43
@Trace(operationName = LAUNCH_PIPELINE_OPERATION_NAME )
44
44
fun accept (msg : LauncherInput ) {
45
- addTagsToTrace()
45
+ addTagsToTrace(msg )
46
46
setLoggingScopeForWorkload(msg).use {
47
47
metricPublisher.count(WorkloadLauncherMetricMetadata .WORKLOAD_RECEIVED , MetricAttribute (WORKLOAD_ID_TAG , msg.workloadId))
48
48
LaunchStageIO (msg)
@@ -68,9 +68,10 @@ class LaunchPipeline(
68
68
}
69
69
}
70
70
71
- private fun addTagsToTrace () {
71
+ private fun addTagsToTrace (msg : LauncherInput ) {
72
72
val commonTags = hashMapOf<String , Any >()
73
- commonTags.put(DATA_PLANE_ID_TAG , dataplaneId)
73
+ commonTags[DATA_PLANE_ID_TAG ] = dataplaneId
74
+ commonTags[WORKLOAD_ID_TAG ] = msg.workloadId
74
75
ApmTraceUtils .addTagsToTrace(commonTags)
75
76
}
76
77
You can’t perform that action at this time.
0 commit comments