Skip to content

Commit

Permalink
#000: Review comment fix - Generation of metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Manjunath authored and Manjunath committed Jan 3, 2025
1 parent 6ae728a commit e7c281d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ class RowDataConverterFunction(config: HudiConnectorConfig, datasetId: String) e

// Convert the event data into RowData for further processing
val rowData = convertToRowData(event)

logger.info("Metric inputEventCount: " + inputEventCount)
logger.info("Metric failedEventCount: " + failedEventCount)

logger.info("Before increment: inputEventCount=" + inputEventCount.getCount)
inputEventCount.inc()
logger.info("After increment: inputEventCount=" + inputEventCount.getCount)



rowData
} catch {
case ex: Exception =>
Expand Down

0 comments on commit e7c281d

Please sign in to comment.