xushiyan commented on issue #3941:
URL: https://github.com/apache/hudi/issues/3941#issuecomment-968117437


   @joha0123 We don't have a way to expose HoodieMetrics; it was designed to 
talk to metrics platform in the background. `INMEMORY` reporter type is meant 
for testing purpose. Do you think a CSV report would help in your case? 
https://issues.apache.org/jira/browse/HUDI-361 it should help write metrics to 
files for you to inspect. We can re-open it or even better, if you're keen, 
feel free to pick up the implementation too. 
   
   Another solution, you could implement 
`org.apache.hudi.callback.HoodieWriteCommitCallback` and in it you can access 
`org.apache.hudi.callback.common.HoodieWriteCommitCallbackMessage#getHoodieWriteStat`
 which has some stats about the write, not exactly the metrics but just 
something related to commits. 


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