Skip to content

Commit

Permalink
openlineage, docs: add missing execution_timeout conf value (apache#4…
Browse files Browse the repository at this point in the history
…1042)

Signed-off-by: Maciej Obuchowski <[email protected]>
  • Loading branch information
mobuchowski authored Jul 26, 2024
1 parent dd10f47 commit 592eafa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/apache-airflow-providers-openlineage/guides/user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,26 @@ If not set, it's using ``default`` namespace. Provide the name of the namespace
.. _options:disable:

Timeout
^^^^^^^

To add a layer of isolation between task execution and OpenLineage, adding a level of assurance that OpenLineage execution does not
interfere with task execution in a way other than taking time, OpenLineage methods run in separate process.
The code runs with default timeout of 10 seconds. You can increase this by setting the ``execution_timeout`` value.

.. code-block:: ini
[openlineage]
transport = {"type": "http", "url": "http://example.com:5000", "endpoint": "api/v1/lineage"}
execution_timeout = 60
``AIRFLOW__OPENLINEAGE__EXECUTION_TIMEOUT`` environment variable is an equivalent.

.. code-block:: ini
AIRFLOW__OPENLINEAGE__EXECUTION_TIMEOUT=60
Disable
^^^^^^^
You can disable sending OpenLineage events without uninstalling OpenLineage provider by setting
Expand Down

0 comments on commit 592eafa

Please sign in to comment.