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

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


The following commit(s) were added to refs/heads/v2-10-test by this push:
     new 583041b5a4 Fix documentation for cpu and memory usage (#42147) (#42256)
583041b5a4 is described below

commit 583041b5a43f1a3dbf70958eec2ad76493ec7b01
Author: Vincent <[email protected]>
AuthorDate: Mon Sep 16 09:11:14 2024 -0700

    Fix documentation for cpu and memory usage (#42147) (#42256)
    
    These metrics are reported in 
airflow/task/task_runner/standard_task_runner.py without "percent"
    
    (cherry picked from commit 3f6497b528a9ca50c363f80b74025046aaec4215)
    
    Co-authored-by: lucasmo <[email protected]>
---
 .../administration-and-deployment/logging-monitoring/metrics.rst      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 f3e69a9541..c8522bee3b 100644
--- 
a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
+++ 
b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst
@@ -246,8 +246,8 @@ Name                                                 
Description
 ``pool.scheduled_slots``                             Number of scheduled slots 
in the pool. Metric with pool_name tagging.
 ``pool.starving_tasks.<pool_name>``                  Number of starving tasks 
in the pool
 ``pool.starving_tasks``                              Number of starving tasks 
in the pool. Metric with pool_name tagging.
-``task.cpu_usage_percent.<dag_id>.<task_id>``        Percentage of CPU used by 
a task
-``task.mem_usage_percent.<dag_id>.<task_id>``        Percentage of memory used 
by a task
+``task.cpu_usage.<dag_id>.<task_id>``                Percentage of CPU used by 
a task
+``task.mem_usage.<dag_id>.<task_id>``                Percentage of memory used 
by a task
 ``triggers.running.<hostname>``                      Number of triggers 
currently running for a triggerer (described by hostname)
 ``triggers.running``                                 Number of triggers 
currently running for a triggerer (described by hostname).
                                                      Metric with hostname 
tagging.

Reply via email to