You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/02/25 16:38:46 UTC
[airflow] branch main updated: Description of dag_processing.last_duration (#29740)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 4e3b5ae724 Description of dag_processing.last_duration (#29740)
4e3b5ae724 is described below
commit 4e3b5ae7248c2327864f64b25dc7a5bd7705430c
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
---
.../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 25e4fc8355..053a253499 100644
--- a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
+++ b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
@@ -161,7 +161,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