convalesce-emit-dagster
Forward Dagster run status to Convalesce, unchanged.
Install
pip install convalesce-emit-dagster
Wire it up
The package exports a sensor body rather than a decorated sensor, because Dagster's decorator signatures move between versions and this package does not depend on Dagster. Apply the decorator in your own definitions:
from dagster import DagsterRunStatus, Definitions, run_status_sensor
from convalesce_emit_dagster import convalesce_sensor
@run_status_sensor(run_status=DagsterRunStatus.SUCCESS)
def convalesce_on_success(context):
convalesce_sensor(context)
@run_status_sensor(run_status=DagsterRunStatus.FAILURE)
def convalesce_on_failure(context):
convalesce_sensor(context)
defs = Definitions(sensors=[convalesce_on_success, convalesce_on_failure])
Each fires with the run, the event and the sensor name, as Dagster
produced them. Set CONVALESCE_INGEST_KEY where the daemon runs.
What each step ran
With the run, the sensor sends one entry per executed step:
- the source of the op or asset function behind it, read from your definitions;
- the SQL statements it ran through SQLAlchemy or a database driver, as text, with the dialect and database and without bound values;
- the configuration it was resolved with.
The statements and the configuration are noted in the process that runs
the step and written to the run's event log as one engine event per step,
which the sensor reads back. This starts when your definitions import
convalesce_emit_dagster, on the multiprocess and the in-process
executor alike. Secrets are masked before anything is written or sent.
Each is on by default and has its own switch, set where your steps and
your sensor run: CONVALESCE_SEND_SOURCE, CONVALESCE_SQL_CAPTURE and
CONVALESCE_SEND_ARGUMENTS (false turns one off).
Supported
Dagster 1.7 and later, on Python 3.9 and later. Verified on real installs: see version-support.md.
Configure
Read from the environment: see convalesce-emit.
Metadata
Release files for convalesce-emit-dagster 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| convalesce_emit_dagster-0.2.0.tar.gz | 47.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| convalesce_emit_dagster-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.9 kB
Release files / convalesce_emit_dagster-0.2.0.tar.gz
| Download URL | convalesce_emit_dagster-0.2.0.tar.gz |
|---|---|
| Size | 47.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
793e39756790dc370a1e91d81aec37811abaca305b0795e1d458e431a56d90ab
|
|
BLAKE2b-256 checksum How to use checksums |
6383f355a4d03009dc720ad841200ead3466d02a0eb21176d02d9d267bf876d2
|
| 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 7, 2026.
Transparency logRelease files / convalesce_emit_dagster-0.2.0-py3-none-any.whl
| Download URL | convalesce_emit_dagster-0.2.0-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fbe152818dc11966805d827bb095a7d0dff3a66f10cd3c8f1697e4e7e01672e
|
|
BLAKE2b-256 checksum How to use checksums |
719e05fbd4e54cd420ca29e11d87db0a342da50f9e2ad2d8f473c115ce2d6603
|
| 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 7, 2026.
Transparency log