nsivabalan commented on code in PR #11035:
URL: https://github.com/apache/hudi/pull/11035#discussion_r1590607676
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metrics/HoodieMetrics.java:
##########
@@ -207,6 +210,13 @@ public Timer.Context getIndexCtx() {
return indexTimer == null ? null : indexTimer.time();
}
+ public Timer.Context getPreWriteTimerCtx() {
+ if (config.isMetricsOn() && preWriteTimer == null) {
+ preWriteTimer = createTimer(preWriteTimerName);
+ }
Review Comment:
sure. do you have any good suggestion for this metric name.
As you might be aware, it spans from reading from source up until completion
of tag location.
--
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]