Spring Boot production monitoring

旧时模样 提交于 2019-12-06 04:12:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!