jtuglu1 commented on code in PR #18855: URL: https://github.com/apache/druid/pull/18855#discussion_r2634354574
########## processing/src/main/java/org/apache/druid/segment/incremental/RowIngestionMeters.java: ########## @@ -73,7 +73,16 @@ default long getProcessedBytes() void incrementUnparseable(); long getThrownAway(); - void incrementThrownAway(); + + /** + * Increments the thrown away counter for the specified reason. + */ + void incrementThrownAway(ThrownAwayReason reason); + + /** + * Returns the count of thrown away events for each reason. + */ + Map<ThrownAwayReason, Long> getThrownAwayByReason(); Review Comment: It's used in `TaskRealtimeMetricsMonitor::doMonitor`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
