flinz opened a new issue, #26905:
URL: https://github.com/apache/airflow/issues/26905

   ### Description
   
   I often find myself checking the stats of a passed task, e.g. "inserted 3 
new rows" or "discovered 4 new files" in the task logs. It would be very handy 
to see these on the UI directly, as part of the task details or elsewhere.
   
   One idea would be to choose in the Task definition, which XCOM keys should 
be output in the task details, like so:
   
![image](https://user-images.githubusercontent.com/97735/194236391-9a8b4d97-9523-4461-a49f-182442d2727f.png)
   
   
   ### Use case/motivation
   
   As a developer, I want to better monitor the results of my tasks in terms of 
key metrics, so I can see the data processed by them. While for production, 
this can be achieved by forwarding/outputting metrics to other systems, like 
notification hooks, or ingesting them into e.g. grafana, I would like to do 
this already in AirFlow to a certain extent. This would certainly cut down on 
my clicks while running beta DAGs.  
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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