Skip to main content

Overview

The Acceldata Listener plugin integrates Airflow DAGs for automatic observation in ADOC.

Features

The plugin performs the following actions without requiring additional code in your Airflow DAG, unless you disable instrumentation through environment variables.

  • When the DAG starts:

    • It creates the pipeline if it does not already exist in ADOC.
    • It creates a new pipeline run in ADOC.
  • When a TaskInstance starts:

    • It creates jobs in ADOC for each of the Airflow operators used in the task.
    • It constructs job input nodes based on the upstream tasks.
    • It creates a span and associates it with the jobs.
    • It emits span events with metadata.
  • When a TaskInstance is completed:

    • It emits span events with metadata.
    • It ends the spans with either success or failure.
  • When the DAG is completed:

    • It updates the pipeline run with success or failure in ADOC.

Prerequisites

Ensure the following applications are installed on your system:

API keys are essential for authentication when making calls to ADOC. You can generate API keys in the ADOC UI's Admin Central by visiting the API Keys section.

Configuration

Plugin Environment Variables

The adoc_airflow_plugin uses the acceldata-sdk to push data to the ADOC backend.

Mandatory Environment Variables: The ADOC client requires the following environment variables:

  • TORCH_CATALOG_URL: The URL of your ADOC Server instance.
  • TORCH_ACCESS_KEY: The API access key generated from the ADOC UI.
  • TORCH_SECRET_KEY: The API secret key generated from the ADOC UI.

Optional Environment Variables: By default, all DAGs are observed. However, the following environment variables can be set to modify this behavior.

Note: The variables for ignoring or observing DAGs are mutually exclusive.

  • If the following environment variables match specific DAG IDs, those DAGs will be ignored from observation, while all other DAGs will still be observed:

    • DAGIDS_TO_IGNORE: Comma-separated list of DAG IDs to ignore.
    • DAGIDS_REGEX_TO_IGNORE: Regular expression pattern for DAG IDs to ignore.
  • If the following environment variables match specific DAG IDs, only those DAGs will be observed, and all others will be ignored:

    • DAGIDS_TO_OBSERVE: Comma-separated list of DAG IDs to observe.
    • DAGIDS_REGEX_TO_OBSERVE: Regular expression pattern for DAG IDs to observe.
  • The following environment variables can be used to configure timeout settings for communication with the ADOC server:

    • TORCH_CONNECTION_TIMEOUT_MS: Maximum time (in milliseconds) to wait while establishing a connection to the ADOC server. Default: 5000 ms.
    • TORCH_READ_TIMEOUT_MS: Maximum time (in milliseconds) to wait for a response from the ADOC server after a successful connection. Default: 15000 ms.

Changelog

Version Log

26.4.0 (11/04/2026)

  • Released adoc-airflow-plugin version 26.4.0.

Metadata

Release files for adoc-airflow-plugin 26.4.0

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

Source distribution (sdist)

Source distribution for adoc-airflow-plugin 26.4.0
File Size Uploaded Provenance Actions
adoc_airflow_plugin-26.4.0.tar.gz 10.7 kB Without provenance Details for adoc_airflow_plugin-26.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adoc-airflow-plugin 26.4.0
File Interpreter ABI Platform Actions
adoc_airflow_plugin-26.4.0-py3-none-any.whl Python 3 none any Details for adoc_airflow_plugin-26.4.0-py3-none-any.whl

Total release size: 21.7 kB

Release files / adoc_airflow_plugin-26.4.0.tar.gz

Download URL adoc_airflow_plugin-26.4.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c965d666d1b329cfc0f924c223c30b6f891fb651637eab592b732c69c8d5ffa8
BLAKE2b-256 checksum
How to use checksums
ec0dadb4cdcb4453fa4204d5d6c09c19d3c7d772ada8c451a7d03e4c8c212511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / adoc_airflow_plugin-26.4.0-py3-none-any.whl

Download URL adoc_airflow_plugin-26.4.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f04240ff2d743eb92aae2c0bd039365c8c875dbdb1876651605a696ea971c62a
BLAKE2b-256 checksum
How to use checksums
4799a73d96b15e2432f5380edd1cf6920c09dec12976c6d49c45cc7bd6ad0cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for adoc-airflow-plugin 26.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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