airflow-maintenance-dags icon indicating copy to clipboard operation
airflow-maintenance-dags copied to clipboard

SLA Report

Open nikhilmn opened this issue 2 years ago • 1 comments

First commit.

nikhilmn avatar Jul 19 '22 22:07 nikhilmn

  • [x] Remove methods that cant be reused
  • [x] Rename any DF vars to have either dag, daily, _hourly
  • [x] Remove hardcoded 1,3,7 days
  • [ ] Loop thru the days list wherever it’s being used; try
  • [x] Rename df2-4
  • [ ] Try to see if ‘yesterday’ can be used instead of today min time
  • [x] Func for obs5_sladpercent_weekprior, obs5_sladpercent_weekprior
  • [x] Reword the descriptions to be more direct & authorotative
  • [x] Test returning empty DF to jinja templating; adding a check for DF len in templating
  • [x] Format the code before pushing
  • [x] Remove all unused code (SLAMiss table)
  • [x] Create vars for list of days
  • [ ] standardize <b>dag</b>: task
  • [ ] test the print statement within and outside the function and validate in scheduler logs
  • [x] test out email without email operator
short_time_frame = 1
medium_time_frame = 3
long_time_frame = 7

list_days = [short_time_frame, medium_time_frame, long_time_frame]

prakshalj0512 avatar Aug 12 '22 19:08 prakshalj0512