Skip to content

Commit

Permalink
Add task sla
Browse files Browse the repository at this point in the history
update

fix task name
  • Loading branch information
amishas157 committed Oct 2, 2024
1 parent 63ed062 commit 5d2daae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions airflow_variables_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@
"ttl": "ttl"
},
"task_sla": {
"all_sources": 720,
"asset_stats": 720,
"build_batch_stats": 840,
"build_bq_insert_job": 1080,
Expand Down
1 change: 1 addition & 0 deletions dags/stellar_etl_airflow/build_dbt_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def dbt_task(

logging.info(f"sh commands to run in pod: {args}")

command_type = command_type.replace(" ", "_")
return KubernetesPodOperator(
task_id=f"dbt_{command_type}_{task_name}",
name=f"dbt_{command_type}_{task_name}",
Expand Down

0 comments on commit 5d2daae

Please sign in to comment.