Code Monkey home page Code Monkey logo

dag-schedule-graph's Introduction

DAG Schedule Graph

Airflow plugin for visualising DAG schedules within 24 hour window of a day.

Airflow dag-schedule-graph plugin screenshot

Each bubble indicates the number of DAGs that will run at that instant. Bubble radius is relative to the DAG count.

Install

pip install dag-schedule-graph

Trying it out using Docker

# Start the services
docker-compose up

# Access the webserver
open http://localhost:8082/dag-schedule-graph/

# Cleanup containers, networks and volumes
docker-compose down -v

Development

# Create virtual environment using conda  
conda create -n dag-schedule-graph python=3.7.9

# Activate the environment
conda activate dag-schedule-graph

# Load environemnt variables
source .env

# Create Postgres database and user
createuser airflow_rbac
createdb -O airflow_rbac airflow_rbac

# Install plugin and all dependencies
pip install -e '.[dev]'

# Running tests
pytest tests

# Initialize Airflow
airflow initdb

# Create Airflow user 
airflow create_user -u admin -e [email protected] -p admin -f admin -l admin -r Admin

# Build static assets
npm run build

# Start Airflow Webserver
airflow webserver

# Access webserver
open http://localhost:8080/dag-schedule-graph/

dag-schedule-graph's People

Contributors

arunvelsriram avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

savenkovka

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.