[
https://issues.apache.org/jira/browse/GOBBLIN-2014?focusedWorklogId=909515&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-909515
]
ASF GitHub Bot logged work on GOBBLIN-2014:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 12/Mar/24 22:21
Start Date: 12/Mar/24 22:21
Worklog Time Spent: 10m
Work Description: phet commented on code in PR #3894:
URL: https://github.com/apache/gobblin/pull/3894#discussion_r1522186274
##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/work/PriorJobStateWUProcessingSpec.java:
##########
@@ -78,42 +78,13 @@ public boolean isToDoJobLevelTiming() {
try {
FileSystem fs = Help.loadFileSystemForce(this);
JobState jobState = Help.loadJobStateUncached(this, fs);
- List<Tag<?>> tagsFromCurrentJob = this.getTags();
- String metricsSuffix = this.getMetricsSuffix();
- List<Tag<?>> tags = this.calcMergedTags(tagsFromCurrentJob,
metricsSuffix, jobState);
- return new EventSubmitterContext(tags, JobMetrics.NAMESPACE);
+ return new EventSubmitterContext.Builder()
+ .addTags(this.getTags())
+ .withGaaSJobProps(jobState.getProperties())
Review Comment:
got it... I guess I mistook the purpose of `withGaaSJobProps`, and thought
at least some might overwrite those already in tags... thanks for clearing up
Issue Time Tracking
-------------------
Worklog Id: (was: 909515)
Time Spent: 2h 50m (was: 2h 40m)
> Add metadata tags for events sent from Temporal to be parseable in GaaS
> -----------------------------------------------------------------------
>
> Key: GOBBLIN-2014
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2014
> Project: Apache Gobblin
> Issue Type: Bug
> Components: gobblin-service
> Reporter: William Lo
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Gobblin's Temporal workflow launches through `ExecuteGobblinJobLauncher`, but
> the eventSubmitter created in that class does not have the necessary metadata
> needed in order to send events to GaaS.
> We want to populate the additional tags to read from the job props that
> contain the information needed for these events to be readable from GaaS.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)