Skip to main content

convalesce-emit-airflow

Forward Airflow run events to Convalesce, unchanged.

Install

pip install convalesce-emit-airflow

That is the whole integration. The package registers a listener through Airflow's airflow.plugins entry point, so nothing in a DAG changes. Set CONVALESCE_INGEST_KEY on the worker and every task instance and dag run event is forwarded as it happens.

Supported

Airflow 2.5 through 3.0 in this one release, on Python 3.9 and later. The listener generates its hooks from the hookspecs of the Airflow it runs in, so a release that adds or removes a hook argument cannot break it. Airflow passes a task's failure message to listeners from 2.10.

Verified on real installs: see version-support.md.

OpenLineage

Where Airflow's OpenLineage provider (apache-airflow-providers-openlineage) is installed and OpenLineage is not configured, the plugin points the provider at its own transport, and each lineage event the provider builds (tables read and written, parsed SQL, columns) is forwarded as observation openlineage. It does this by setting AIRFLOW__OPENLINEAGE__TRANSPORT when the plugin loads.

On Airflow 2.10 and later it also registers Airflow's hook lineage reader, so files and tables a hook touches from inside a task (S3, GCS, object storage, SQL run through a hook) reach the same events.

To link a Spark job an Airflow task submits to that task, set AIRFLOW__OPENLINEAGE__SPARK_INJECT_PARENT_JOB_INFO=true. The provider then names the task as the Spark job's parent; it changes the job's Spark configuration, so it is left for you to switch on.

It never replaces a setup you made: any of [openlineage] transport, [openlineage] config_path, [openlineage] disabled, OPENLINEAGE_URL, OPENLINEAGE_CONFIG, OPENLINEAGE_DISABLED, OPENLINEAGE__TRANSPORT__* or an openlineage.yml leaves OpenLineage as it was. To use a transport of your own and forward to Convalesce too, name this one in it:

{"type": "convalesce_emit_airflow.openlineage.ConvalesceTransport"}

Set CONVALESCE_OPENLINEAGE=false to switch this off.

Choose which DAGs are reported

Every DAG is reported unless you say otherwise. Two settings choose by DAG id, each a comma-separated list of shell-style patterns (* for any run of characters, ? for one, [abc] for one of a set), matched against the whole id with its case kept:

  • CONVALESCE_AIRFLOW_DAG_DENY: a DAG whose id matches is left out.
  • CONVALESCE_AIRFLOW_DAG_ALLOW: when set, only a DAG whose id matches is reported.

A DAG that matches both is left out.

CONVALESCE_AIRFLOW_DAG_ALLOW="orders_*,billing"
CONVALESCE_AIRFLOW_DAG_DENY="orders_scratch"

Nothing is sent for a DAG that is left out: its task and dag run events, the asset events its tasks raise, and the OpenLineage events the provider builds for it. Set them on the scheduler and on every worker.

Connections

For each connection a task names, the plugin sends its type, host, port and schema, and these names from its extra when they are set: database, schema, warehouse, role, catalog, project and dataset. They say which database a table named without one belongs to. Each value passes through the same redaction as the rest of the event.

The same is sent for the connection of each database hook a task builds in its own code, such as a PostgresHook inside a @task, and each statement that hook ran carries the connection's id as conn_id.

Configure

CONVALESCE_INGEST_KEY, CONVALESCE_ENDPOINT, CONVALESCE_DRY_RUN and the rest are read from the environment: see convalesce-emit.

Metadata

Release files for convalesce-emit-airflow 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for convalesce-emit-airflow 0.2.1
File Size Uploaded
convalesce_emit_airflow-0.2.1.tar.gz 915.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for convalesce-emit-airflow 0.2.1
File Interpreter ABI Platform
convalesce_emit_airflow-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / convalesce_emit_airflow-0.2.1.tar.gz

Download URL convalesce_emit_airflow-0.2.1.tar.gz
Size 915.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6f2ebd1b927d76df1a61610ea0ccd7b17c27a17a2365a0cae58ac5062d341bd7
BLAKE2b-256 checksum
How to use checksums
0bdf3243b1bb99c4bfeab88bf12aab970b1f4812e18b5dcdcacad85e10a70355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / convalesce_emit_airflow-0.2.1-py3-none-any.whl

Download URL convalesce_emit_airflow-0.2.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0c869f871c0779c21516ee1b44bad20b505a0bb7d055974cc7885cfc5fca199c
BLAKE2b-256 checksum
How to use checksums
33ab54784476f1a52487dccf290bb0544f5ec9df033b61250777c8e119edfe29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

0.3.0

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page