Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions airflow-core/src/airflow/jobs/scheduler_job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2639,6 +2639,7 @@ def _emit_ti_metrics(self, session: Session = NEW_SESSION) -> None:
for prev_key in self.previous_ti_metrics[state]:
# Reset previously exported stats that are no longer present in current metrics to zero
if prev_key not in ti_metrics:
dag_id, task_id, queue = prev_key
DualStatsManager.gauge(
f"ti.{state}",
0,
Expand Down