AutomationDev85 commented on code in PR #70013:
URL: https://github.com/apache/airflow/pull/70013#discussion_r3718409934


##########
shared/observability/src/airflow_shared/observability/metrics/metrics_template.yaml:
##########
@@ -459,10 +459,16 @@ metrics:
     name_variables: []
 
   - name: "scheduler.dagruns.running"
-    description: "Number of DAGs whose latest DagRun is currently in the 
``RUNNING`` state"
+    description: "Number of DagRuns currently in the ``RUNNING`` state, tagged 
by dag_id."
     type: "gauge"
-    legacy_name: "-"
-    name_variables: []
+    legacy_name: "scheduler.dagruns.running.{dag_id}"

Review Comment:
   @potiuk I addressed this point with changes in stats.py. What do you think? 
With this update, legacy_name should no longer be an issue when toggling the 
config flag.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to