Airflow web interface

Apache Airflow เบื้องต้นด้วย Python

Mike Metzger

Data Engineer

Home View

หน้า Home dashboard ของ Airflow web UI พร้อมเมนูนำทางด้านซ้าย

Apache Airflow เบื้องต้นด้วย Python

Dags view

หน้า Dags view ของ Airflow แสดงรายการ DAG ทั้งหมด

Apache Airflow เบื้องต้นด้วย Python

Dags view Dags

หน้า Dags view โดยไฮไลต์คอลัมน์ชื่อ DAG

Apache Airflow เบื้องต้นด้วย Python

Dags view Latest Run

หน้า Dags view โดยไฮไลต์คอลัมน์ Latest Run

Apache Airflow เบื้องต้นด้วย Python

Dags view runs

หน้า Dags view โดยไฮไลต์คอลัมน์ Recent Runs

Apache Airflow เบื้องต้นด้วย Python

การนำทางไปยังรายละเอียด DAG

หน้า Dags view โดยไฮไลต์ลิงก์ DAG update_state

Apache Airflow เบื้องต้นด้วย Python

Dags view update_state (Grid)

หน้า DAG detail grid view ของ update_state พร้อมแท็บ Grid, Graph และ Code

Apache Airflow เบื้องต้นด้วย Python

Dags view update_state tasks

หน้า DAG grid view แสดง 3 task ของ update_state

Apache Airflow เบื้องต้นด้วย Python

Dags view update_state (Graph)

หน้า DAG graph view แสดง task และ dependency ในรูปแบบ flow chart

Apache Airflow เบื้องต้นด้วย Python

Dags view update_state (Code)

หน้า DAG code view แสดงซอร์สโค้ด Python แบบอ่านอย่างเดียวที่กำหนด DAG

Apache Airflow เบื้องต้นด้วย Python

Dag Runs view

หน้า DAG Runs แสดงรายการ run ล่าสุดของ DAG ทั้งหมด

Apache Airflow เบื้องต้นด้วย Python

Task instances

หน้า Task Instances แสดงรายการ task run ของ DAG ทั้งหมด

Apache Airflow เบื้องต้นด้วย Python

Dag Import Errors

หน้า Dags view แสดงปุ่มแจ้งเตือน import error

Apache Airflow เบื้องต้นด้วย Python

Dag Import Errors Detail

หน้ารายละเอียด import error แสดง traceback ของ DAG

Apache Airflow เบื้องต้นด้วย Python

Audit Log

Airflow UI เปิดเมนู Browse แสดงตัวเลือก audit log

Apache Airflow เบื้องต้นด้วย Python

Audit Log

หน้า audit log แสดงรายการเหตุการณ์ในระบบตามประเภท

Apache Airflow เบื้องต้นด้วย Python

Web UI vs command line

  • มีประสิทธิภาพเทียบเท่ากันขึ้นอยู่กับความต้องการ
  • ทั้งคู่สื่อสารกับ Airflow API-Server
  • Web UI มักใช้งานได้ง่ายกว่า
  • Command line tool อาจเข้าถึงได้ง่ายกว่าขึ้นอยู่กับการตั้งค่า

Airflow web UI และ command line tool แสดงแบบเคียงกัน

Apache Airflow เบื้องต้นด้วย Python

มาฝึกกันเถอะ!

Apache Airflow เบื้องต้นด้วย Python

Preparing Video For Download...