CaesarWangX opened a new issue, #6148:
URL: https://github.com/apache/hudi/issues/6148

   Hi Team, I have a problem in the process of using HoodieMetrics
   
   How I use it:
   I use the customized MetricsRepoter which extends 
**AbstractUserDefinedMetricsReporter**, and get sortedMap<string, gauge> 
through MetricRegistry, but I can't get the data related to **numDeletes** in 
the result.
   
   What have I done:
   I go through the source code of **HoodieMetrics** and 
**HoodieCommitMetadata**. I found that the method **getTotalRecordsDeleted** 
has been defined in **HoodieCommitMetadata** in Hudi, but there is no call to 
getTotalRecordsDeleted in **HoodieMetrics**. In this case, using Hudi's metrics 
cannot obtain the amount of data deleted.
   
   Question:
   Is this a bug?
   If so, which version is expected to be repaired?
   If not, is there any plan to add it to metrics in a later version? Or is 
there any other way to get numDeletes from metrics?
   
   Thanks in advance


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