Skip to content

Add spark.openlineage.appName tag to spark.application spans#11246

Draft
aboitreaud wants to merge 2 commits intomasterfrom
adrien.boitreaud/ol-jobname
Draft

Add spark.openlineage.appName tag to spark.application spans#11246
aboitreaud wants to merge 2 commits intomasterfrom
adrien.boitreaud/ol-jobname

Conversation

@aboitreaud
Copy link
Copy Markdown
Contributor

@aboitreaud aboitreaud commented Apr 30, 2026

What Does This Do

Capture on the spans the OL job name. can be overriden in OL so we need to capture it and have it on the span

Motivation

OpenLineage names the application job using spark.openlineage.appName if set, falling back to spark.app.name otherwise.
The gap: when a user sets spark.openlineage.appName to something different from spark.app.name, OL uses that override as its job name but Datadog never reads that key — so job_name on the span = spark.app.name while OL's job name = spark.openlineage.appName. Correlation with our job_name attr breaks.

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant