From f1073dbcdb99e44e3386ae33bc68e394414e8a1d Mon Sep 17 00:00:00 2001 From: Jacob Date: Mon, 7 Nov 2022 16:25:17 -0600 Subject: [PATCH] Correct timer units to seconds from milliseconds. (#27360) ``dagrun.duration.success.`` ``dagrun.schedule_delay.`` ``dagrun..first_task_scheduling_delay`` are reported to statsd in seconds, not milliseconds. Other timers in this list might be suspect, but I haven't checked them yet. (cherry picked from commit 25d7ca918e2d382cccd7d70386a1055d33bb517b) --- docs/apache-airflow/logging-monitoring/metrics.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/apache-airflow/logging-monitoring/metrics.rst b/docs/apache-airflow/logging-monitoring/metrics.rst index d92327905f66f..a5baa902d0355 100644 --- a/docs/apache-airflow/logging-monitoring/metrics.rst +++ b/docs/apache-airflow/logging-monitoring/metrics.rst @@ -155,12 +155,12 @@ Name Description ``dagrun.dependency-check.`` Milliseconds taken to check DAG dependencies ``dag...duration`` Milliseconds taken to finish a task ``dag_processing.last_duration.`` Milliseconds taken to load the given DAG file -``dagrun.duration.success.`` Milliseconds taken for a DagRun to reach success state +``dagrun.duration.success.`` Seconds taken for a DagRun to reach success state ``dagrun.duration.failed.`` Milliseconds taken for a DagRun to reach failed state -``dagrun.schedule_delay.`` Milliseconds of delay between the scheduled DagRun +``dagrun.schedule_delay.`` Seconds of delay between the scheduled DagRun start date and the actual DagRun start date ``scheduler.critical_section_duration`` Milliseconds spent in the critical section of scheduler loop -- only a single scheduler can enter this loop at a time -``dagrun..first_task_scheduling_delay`` Milliseconds elapsed between first task start_date and dagrun expected start +``dagrun..first_task_scheduling_delay`` Seconds elapsed between first task start_date and dagrun expected start ``collect_db_dags`` Milliseconds taken for fetching all Serialized Dags from DB =================================================== ========================================================================