From 3f6497b528a9ca50c363f80b74025046aaec4215 Mon Sep 17 00:00:00 2001 From: lucasmo Date: Sat, 14 Sep 2024 00:05:25 +0100 Subject: [PATCH] Fix documentation for cpu and memory usage (#42147) These metrics are reported in airflow/task/task_runner/standard_task_runner.py without "percent" --- .../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 f3e69a9541df8..c8522bee3ba10 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.`` 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..`` Percentage of CPU used by a task -``task.mem_usage_percent..`` Percentage of memory used by a task +``task.cpu_usage..`` Percentage of CPU used by a task +``task.mem_usage..`` Percentage of memory used by a task ``triggers.running.`` 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.