From e593fafa159606d7f6fe695099bbf3ee51eafe51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Ducharme?= Date: Thu, 7 Mar 2024 15:49:32 -0500 Subject: [PATCH] chore(dags): Delete overwatch.py (#1937) --- dags/overwatch.py | 52 ----------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 dags/overwatch.py diff --git a/dags/overwatch.py b/dags/overwatch.py deleted file mode 100644 index c9b179772..000000000 --- a/dags/overwatch.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Overwatch. - -Runs daily at 0700 UTC. - -Source code is [overwatch-mvp repository](https://github.com/mozilla/overwatch-mvp/). - -This DAG is executes the Overwatch monitoring system. -All alerts related to this DAG can be ignored. - -""" - -from datetime import datetime - -from airflow import DAG - -from operators.gcp_container_operator import GKEPodOperator - -default_args = { - "owner": "gleonard@mozilla.com", - "email": [ - "gleonard@mozilla.com", - "wichan@mozilla.com", - ], - "start_date": datetime(2022, 11, 23), - "depends_on_past": False, - "email_on_failure": True, - "retries": 0, -} - -tags = [ - "repo/telemetry-airflow", - "impact/tier_3", -] -image = "gcr.io/moz-fx-data-airflow-prod-88e0/overwatch:{{ var.value.overwatch_image_version }}" - - -with DAG( - "overwatch", - default_args=default_args, - schedule_interval="0 7 * * *", - doc_md=__doc__, - tags=tags, - catchup=False, -) as dag: - run_analysis = GKEPodOperator( - task_id="run_analysis", - name="run_analysis", - image=image, - env_vars={"SLACK_BOT_TOKEN": "{{ var.value.overwatch_slack_token }}"}, - arguments=["run-analysis", "--date={{ ds }}", "./config_files/"], - )