airflow-maintenance-dags
airflow-maintenance-dags copied to clipboard
SLA Report
First commit.
- [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]