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 3e6d69dfc6 Update statsd-mapping.yml to support Airflow 2.X pool 
metrics (#36305)
3e6d69dfc6 is described below

commit 3e6d69dfc64957b70d749ec57f80d3dc023cb535
Author: shohamy7 <[email protected]>
AuthorDate: Wed Dec 20 02:02:39 2023 +0200

    Update statsd-mapping.yml to support Airflow 2.X pool metrics (#36305)
---
 chart/files/statsd-mappings.yml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/chart/files/statsd-mappings.yml b/chart/files/statsd-mappings.yml
index f10ab006dd..f5339efd6c 100644
--- a/chart/files/statsd-mappings.yml
+++ b/chart/files/statsd-mappings.yml
@@ -76,8 +76,18 @@ mappings:
     labels:
       pool: "$1"
 
-  - match: airflow.pool.used_slots.*
-    name: "airflow_pool_used_slots"
+  - match: airflow.pool.queued_slots.*
+    name: "airflow_pool_queued_slots"
+    labels:
+      pool: "$1"
+
+  - match: airflow.pool.running_slots.*
+    name: "airflow_pool_running_slots"
+    labels:
+      pool: "$1"
+
+  - match: airflow.pool.deferred_slots.*
+    name: "airflow_pool_deferred_slots"
     labels:
       pool: "$1"
 

Reply via email to