Skip to content

[Data Observability] Document lineage retention, asset deletion, and OpenLineage column lineage - #42075

Draft
kevinzenghu wants to merge 9 commits into
masterfrom
kevinzenghu/do-lineage-openlineage-gaps
Draft

kevinzenghu wants to merge 9 commits into
masterfrom
kevinzenghu/do-lineage-openlineage-gaps

Conversation

@kevinzenghu

@kevinzenghu kevinzenghu commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

The Lineage page now explains that assets and edges leave Data Observability after 35 days without new metadata, points to the Data Catalog to delete a stale asset sooner, explains that job run details on the graph follow the selected time frame, and notes that lineage stops at BigQuery external tables.

The custom jobs (OpenLineage) page now covers a pattern for sending runs from tools that don't emit OpenLineage events, with the fields each event needs. It also covers Snowflake, Databricks, AWS Glue, and Redshift dataset naming, and the facets that column-level lineage requires, with a complete example event. The curl examples now include the top-level schemaURL field that the OpenLineage spec requires.

Merge readiness

  • Ready for merge

AI assistance

Drafted with Claude Code. Product behavior was checked against the product source code.

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

Additional notes

  • Confirm phase: Delete asset in the catalog has no Preview label in the product.
  • The Delete asset steps and permission live on the Data Catalog page ([Data Observability] Document catalog facets, asset page tabs, the navigation tree, and asset deletion #42073). This page links the Data Catalog page. After [Data Observability] Document catalog facets, asset page tabs, the navigation tree, and asset deletion #42073 merges, the link can point to its Delete an asset section.
  • Without the top-level schemaURL, the OpenLineage events page shows the curl examples with the Error status. The four curl payloads and the column-level lineage event now validate against the OpenLineage 2-0-2 run event schema and the facet schemas they reference.
  • The Redshift namespace in the naming table differs from the OpenLineage naming conventions. The new note says that datasets in the OpenLineage format don't link to tables from the Amazon Redshift integration. Reviewers familiar with OpenLineage processing should confirm it.
  • The poller section says that Datadog reads an eventTime without a UTC offset as UTC. Reviewers should confirm this is behavior to document.
  • The column-level lineage section names example namespaces from the existing naming table and doesn't claim the list is complete. It states that Trino datasets get table-level lineage only. Reviewers familiar with OpenLineage processing should confirm that wording.
  • The 35-day period on the Lineage page is the default retention for assets and edges. Reviewers should confirm it's the right value to publish.
  • The lineage page keeps its existing em dashes. This PR doesn't touch those lines.
  • Adds a diagram of how a poller sends a tool's runs as OpenLineage events with the times the tool recorded, in the section on tools without OpenLineage support.
  • This PR doesn't depend on other open PRs. Links to related pages that other open PRs add follow in a separate PR after they merge.

Screenshots to add:

  • data_observability/lineage.md, after the paragraph on job run details in the time frame section: the lineage graph with an upstream job whose latest run failed, showing the job node's run count, failed run count, average duration, and the Last run failed status badge.
  • data_observability/jobs_monitoring/openlineage/_index.md, at the end of Step 4: Data Observability Settings > OpenLineage, the OpenLineage events list with sample custom job events in the Ok, Warning, and Error validation states, and one selected event with the payload Datadog received.

Each location is marked in the page with an <!-- SCREENSHOT: ... --> comment. Use sample data only.

🤖 Generated with Claude Code

kevinzenghu and others added 3 commits November 21, 2026 14:19
…OpenLineage column lineage

Lineage: 35-day retention for assets and edges, deleting stale assets from
the catalog, job run details that follow the selected time frame, and
external tables.

Custom jobs with OpenLineage: Snowflake output naming, column-level lineage
requirements with an example, and a polling pattern for tools without
OpenLineage support.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Split long sentences, scope the Snowflake naming note to any dataset,
note that column lineage needs referenced inputs in the event, state
that Trino datasets get table-level lineage only, and match the delete
confirmation text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Pipelines

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4f678e1 | Docs | Give us feedback!

kevinzenghu and others added 2 commits November 21, 2026 21:31
- Add the required top-level schemaURL to the curl examples, make the
  column-level lineage example a complete COMPLETE run event, and wrap the
  naming example in a valid JSON object.
- List the fields each poller event needs, how Datadog reads eventTime
  without a UTC offset, and how in-progress runs reach job duration monitors.
- Align the Databricks, AWS Glue, and Redshift naming rows with the formats
  Datadog accepts, and explain how the Redshift namespace differs from the
  OpenLineage naming conventions.
- On Lineage, link the Data Catalog for asset deletion instead of repeating
  the steps, scope the external table note to BigQuery, and link OpenLineage
  column-level lineage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kevinzenghu and others added 2 commits November 22, 2026 06:59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the Images Images are added/removed with this PR label Nov 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Images Images are added/removed with this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant