You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/03/07 16:16:18 UTC

[airflow] 11/23: Description of dag_processing.last_duration (#29740)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 3cba77fd15291d6cc2f58d4f362e94f9fddbe573
Author: Nikos Chasiotis <ha...@gmail.com>
AuthorDate: Sat Feb 25 18:38:35 2023 +0200

    Description of dag_processing.last_duration (#29740)
    
    Time metric reports dag_processing.last_duration.<dag_file>  reposts seconds and not milliseconds acording to https://github.com/apache/airflow/blob/2.4.3/airflow/dag_processing/manager.py#L874
    
    (cherry picked from commit 4e3b5ae7248c2327864f64b25dc7a5bd7705430c)
---
 .../administration-and-deployment/logging-monitoring/metrics.rst        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
index 00c3537ccf..b20c544ab3 100644
--- a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
+++ b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
@@ -157,7 +157,7 @@ Name                                                Description
 =================================================== ========================================================================
 ``dagrun.dependency-check.<dag_id>``                Milliseconds taken to check DAG dependencies
 ``dag.<dag_id>.<task_id>.duration``                 Milliseconds taken to finish a task
-``dag_processing.last_duration.<dag_file>``         Milliseconds taken to load the given DAG file
+``dag_processing.last_duration.<dag_file>``         Seconds taken to load the given DAG file
 ``dagrun.duration.success.<dag_id>``                Seconds taken for a DagRun to reach success state
 ``dagrun.duration.failed.<dag_id>``                 Milliseconds taken for a DagRun to reach failed state
 ``dagrun.schedule_delay.<dag_id>``                  Seconds of delay between the scheduled DagRun