Knowledge base · 3TL Bridge

3TL Bridge: Data Lineage and Reports

By Donovan Kinney · Updated

Data Lineage and Reports

3TL Bridge records what every pipeline does with the data it moves: which dataset it reads, which it writes, which fields it masks, removes or passes through, and — while it runs — how many records went past and which fields they actually carried. The record is kept as OpenLineage events in a ledger, and from that ledger the engine generates a processing report for any pipeline, as it stood at any moment.

Asking for a report reads nothing from your database. Every line comes from what was written down when the pipeline started and while it ran, which is what makes it evidence rather than a summary.

One thing does read your data: when a pipeline starts on a source with no registered schema, Bridge looks at a sample of records (1,000 by default) to learn the field names. That happens once, at start. Register a schema, or leave out introspect in the config, and it never happens.


Why it exists

“You say this pipeline masks passport_number. Prove it was ever there.”

  • A data-protection question is rarely what does this pipeline do — it is what did it do to this field, over that period, and how do you know. The report answers that with the record, not with a description of the present:
  • which fields are classified as regulated, and under which regulations
  • what the transformation did to each — masked by a built-in function, removed, passed through unchanged, or something the engine could not establish
  • how many records carried each field, out of how many were watched, and when a field was first and last seen
  • how many records a stage filtered out, and how many documents reached each destination
  • what the report cannot say, stated as rows rather than left blank

Producing a report

GET /reports/pipelines/{name}
GET /reports/pipelines/{name}?reported_for=2026-03-14T00:00:00Z
GET /reports/pipelines/{name}?format=csv
GET /reports/pipelines/{name}?format=text
Format For
JSON (default) the UI, and diffing two reports against each other
csv the artifact you forward: filtered, sorted, merged with rows from elsewhere
text reading inline, in a chat reply or a terminal

All three project the same record; there is no second source of truth.

reported_for produces the report as the pipeline stood at that moment: which description was in force, what had been observed by then, and which version of the classification rules applied. Omit it for the current state. A moment in the future is refused.

The pipeline page has a Download report button on its title row; pick the format and, if you want a past moment, the date. The AI Assistant can also fetch a report and explain it — it never composes one itself.


Reading a report

Pipeline: customer-report                    for 2026-08-19T23:45:02+00:00
Scope: pipelines managed by this deployment
Generated: 2026-08-19T23:45:02.114Z
Described: 2026-08-19T23:44:58.607Z
Rules: 2026-08-16T00:00:00Z
Seen: 41208 records since 2026-08-19T23:44:58.607Z, 3 worker(s)
Dropped: 31 records filtered out by a stage
Reads               crm-db/customers [mongodb]  (mongodb://db:27017/crm.customers)
Writes              analytics/report [mongodb]  (mongodb://db:27017/analytics.customer_report) — 41177 documents
Transforms          udf-scripts/mask_customer.rhai
Fields
                    email          EMAIL_ADDRESS (CCPA, GDPR)  masked by mask_email(1)
                    full_name      PERSON (CCPA, GDPR, HIPAA)  passes through unchanged
                                   ^ regulated, and reaches the sink untouched
                    passport_number NATIONAL_ID (GDPR)         not established
                                   ^ not seen in 41208 records
                    phone          PHONE_NUMBER (CCPA, GDPR)   removed before the sink
Not recorded
                    transfers — no service declares which region its server is in, so a border crossing cannot be established
                    retention — the engine does not decide how long a sink keeps what it receives

Three clocks

generated_at when this document was produced — not what it is about
reported_for the moment it covers, and an upper bound on its evidence
described_at when the pipeline was last described at or before that

A report produced today, about last March, describing a definition that has stood since January is the ordinary shape of an audit answer — and the gap between the last two is itself information about how long that definition has stood.

Two findings

The report draws no conclusions of its own; both findings are two values on a row read together.

  • Regulated and untouched. A field with categories whose treatment is passthrough reaches a sink exactly as it arrived. The CSV spells it as the status word uncontrolled; the text form marks the row.
  • Claimed and never carried. A field the schema declares whose records_seen is 0 against a large records_watched. Not proof of absence — the engine cannot prove that — but “not seen in 41,208 records” is a statement a reader can weigh.

What each field row says

Column Meaning
categories, regulations what the classification rules make of the field’s name, and which regulations that implicates
origin why the field is on the report: declared by a schema, sampled by the engine when no schema was registered, produced by a transform, or observed in the traffic with nobody having named it. Only a declared field can be contradicted by the traffic
records_seen, first_seen, last_seen how many watched records carried it, and when
treatment masked, removed, dropped, passthrough, rewritten, or not_established — see below
status (CSV) the one-word takeaway: controlled, uncontrolled, changed, unclassified, or not_established

not_established is not a third finding. When the engine cannot read a transformation stage it says so, rather than reporting a field as untouched when that was never established. dropped means the transform builds its output and never mentions the field, so it cannot be there — a claim that also covers fields the source gained after the pipeline was described. removed means a stage named it and deleted it.

Counts, and why they are never added

Unit Where
records_watched source records the run
records_dropped source records a stage filtered out on purpose the run
documents_written documents a destination confirmed taking each entry of writes

Source records and documents written are different units: one record can fan out into several documents or be batched into one, and a record that reached a sink and then a dead-letter queue is counted at both. The report never subtracts one from another, and a destination with no count is one nobody counted, not one nothing reached — the delivery line under Not recorded says so.

Absences are rows

A report that omitted what it does not know would read as a complete account of a narrower world. So not_recorded lists, as objects with a stable subject, what the record cannot say and why: where a server physically sits, how long a sink keeps data, whose data it is, why the processing is permitted — and, when it applies, that nothing was watching, that some records were too wide to record in full, or that a count is a lower bound.


What is recorded, and when

Event When
Start a pipeline starts: its source, sinks, schemas, column lineage and the classification in force
Running on an interval while it runs (observe_interval_secs, default 60), and immediately when a column nobody described first arrives: which columns the traffic carried, how many records, what was dropped, what reached each destination
Abort / Fail how it ended

In a high-availability deployment each replica records its own share of the traffic, and the report sums them and says how many contributed.

Lineage is on by default and keeps its ledger in the system database. See Deployment — Lineage and Classification for the configuration, including how to sample sources that register no schema and where the classification rules come from. Events can also be forwarded to a data catalogue that consumes OpenLineage.

What the report does not claim

The report states what the pipeline is built to do and what the engine observed it doing. It does not certify that a control operated correctly in every instance, and it records nothing it cannot derive: a facet the engine cannot back is omitted rather than defaulted.

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences