SameerMesiah97 commented on code in PR #68906:
URL: https://github.com/apache/airflow/pull/68906#discussion_r3677642035
##########
airflow-core/src/airflow/models/serialized_dag.py:
##########
@@ -763,6 +764,7 @@ def write_dag(
session.merge(dag_version)
# Update the latest DagCode
DagCode.update_source_code(dag_id=dag.dag_id, fileloc=dag.fileloc,
session=session)
+ stats.incr("dag.serialization", tags={"dag_id": dag.dag_id,
"bundle_name": bundle_name})
Review Comment:
nit: I think the naming of the metric could be more explicit. Would
something like `dag.serialization_writes` be a bit clearer?
--
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]