简体   繁体   中英

need to create a dashboard to monitor the status of spring batch job

I need to create a dashboard to monitor the status of the spring batch jobs those jobs get executed by shell script. so I thought of getting the batch status from spring batch tables using rest Api like that and display that data using some UI framework. can you help me how I can implement this approach.

Easiest way to do and to get a very intuitive UI without any kind of UI coding is to use Grafana + Prometheus Stack. You need to inject the time series data only to grafana in your REST API when it gets called.

like

And Grafana can automatically visualize it in its dashboard.

Take a look at here https://prometheus.io/docs/visualization/grafana/

如果您的批处理作业在 Spring Boot 中并且您想添加一个 Web 控制台来管理这些批处理作业,您可以尝试https://github.com/httpants/spring-batch-admin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM