问题
Spring Boot Actuator exposes a lot of metrics and information of the deployed container. However, production operations guys probably don't want to stare at pure JSON objects on their browser :)
What would be good "standard" tools for monitoring this in production? This would include graphs, triggers for alerts, etc.
回答1:
The spring-boot-admin project is also a great monitoring tool that your production support guys may be interested in. It doesn't process and graph the metrics at all like graphite+grafana, but it is a great simple tool to setup and use to see the state of all of your running spring-boot applications.
https://github.com/codecentric/spring-boot-admin
回答2:
You're right! Looking at JSON Objects all day is not that pretty. One setup that our team finds handy is to use the following
- jmxtrans to export the data to Graphite.
- Graphana to show the data in a nice way, after pulling the metrics from Graphite. Documentation to do that is on Graphana's website
- Nagios for triggering alerts, pulling the same data from Graphite, there's a nice module here for that.
来源:https://stackoverflow.com/questions/35131012/spring-boot-production-monitoring