An example of how to extract performance metrics out of a Spring Batch Job using Dropwizard Metrics.

Sample HTML Report

Usage

The gradle build will expect node 8.9.1 and yarn to be installed on the system.

$ git clone https://github.com/monkey-codes/spring-batch-metrics.git
$ cd spring-batch-metrics
# if you are using nvm
$ nvm use 8.9.1
$ ./gradlew clean build
$ ./gradlew bootRun -Dspring.batch.job.names=single.thread.decorator.driven.job -Dcodes.monkey.metric.output.dir=$(pwd)/build
# to view the html report generated in the tmp folder
$ open ./build/report.html