Skip to main content

Memory profiling for Airflow with Memray.

Project description

Airflow Memray

pre-commit Conventional Commits code style: black Ruff uv image image image

Memory profiling for Airflow with Memray.

Configuration Reference

This section contains the list of all the available Airflow Memray configurations that you can set in airflow.cfg file or using environment variables.

base_folder

The base folder under which Airflow Memray will store profiling results. Possible values can be anything what is supported by Airflow Object Storage.

If it refers to a local file system path, then it must be accessible by the task and the webserver.

Default: "file:///tmp/airflow/memray"

Environment Variable: AIRFLOW__MEMRAY__BASE_FOLDER

storage_conn_id

The Airflow Connection to use if base_folder is set to a remote cloud storage location.

Default: None

Environment Variable: AIRFLOW__MEMRAY__STORAGE_CONN_ID

tasks

The tasks to be profiled as a comma separated list of wildcard pattern as implemented by the fnmatch module. The pattern are applied against the full task ID in the form <dag_id>.<task_id>.

Set it to "*" to profile all tasks.

Default: ""

Environment Variable: AIRFLOW__MEMRAY__TASKS

Airflow Summit 2024

I have given a presentation about this package at Airflow Summit 2024.

You can visit the official page of the presentation or directly watch video on YouTube by clicking on the following picture:

Profiling Airflow tasks with Memray

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_memray-0.1.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_memray-0.1.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file airflow_memray-0.1.1.tar.gz.

File metadata

  • Download URL: airflow_memray-0.1.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for airflow_memray-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bbee704a376c08b7a20d0a4b7bbb917fdae43b8b8d2b20a5ea2100a03e894cc5
MD5 d7713db05894b4806bbe2ee52674aef1
BLAKE2b-256 5ed3227c0e18a2548e3231cf3fb77b8633b5161f3e55beb1a700e6e11d949f66

See more details on using hashes here.

Provenance

The following attestation bundles were made for airflow_memray-0.1.1.tar.gz:

Publisher: publish.yml on m1racoli/airflow-memray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file airflow_memray-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: airflow_memray-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for airflow_memray-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a049c0f13fc021e283b6e3ad78784985da55e894c51700d5fcfbaa8daaab91b4
MD5 f54906d912350e91b5f241b0ec150bed
BLAKE2b-256 ed4bcacfd98bb1087be5c7eb3066ad17e3effee8498ec09226df35705b4e96bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for airflow_memray-0.1.1-py3-none-any.whl:

Publisher: publish.yml on m1racoli/airflow-memray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page