Reputation: 603
I have many spring batch applications which are simple job or deamons that run as a fat jar in linux via shell scripts, one of the challenges we face is performance monitoring of the application metrics such as processing speed ,identify bottleneck ,time taken by rest api calls,DB query latency . Currently we have some AOP annotations that give us some metrics in a log file . But I was wondering are there any standard tools /APM for it. Options explored so far :
I want to know what is the standard way of monitoring spring batch application this in spring batch , if possible one that gives DB query metrics (like high query timing) out of the box with simple change , a pointer to the documentation of ref guide for same would be nice
Upvotes: 0
Views: 1126
Reputation: 31600
what is the standard way of monitoring spring batch application
The standard way is through Micrometer, as mentioned previously. There is also tracing support coming in v5.
a pointer to the documentation of ref guide for same would be nice
Upvotes: 1