Bowrna commented on code in PR #38400:
URL: https://github.com/apache/airflow/pull/38400#discussion_r1535234940
##########
airflow/dag_processing/manager.py:
##########
@@ -1207,6 +1209,7 @@ def _kill_timed_out_processors(self):
processor.start_time.isoformat(),
)
Stats.decr("dag_processing.processes", tags={"file_path":
file_path, "action": "timeout"})
+ Stats.gauge("dag_processing.processes_count", -1, delta=True,
tags={"file_path": file_path, "action": "timeout"})
Stats.incr("dag_processing.processor_timeouts",
tags={"file_path": file_path})
Review Comment:
@potiuk @hussein-awala @ferruzzi I could see from the docs that the metric
"dag_processing.processor_timeouts" is specified as gauge. But in the code, it
is getting incremented as counter type here. Is this a bug?
--
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]