java Spring Boot 生产监控

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35131012/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 23:46:18  来源:igfitidea点击:

Spring Boot production monitoring

javaspringspring-bootmonitoringspring-boot-actuator

提问by user1340582

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 :)

Spring Boot Actuator 暴露了很多已部署容器的指标和信息。但是,生产运营人员可能不想盯着浏览器上的纯 JSON 对象:)

What would be good "standard" tools for monitoring this in production? This would include graphs, triggers for alerts, etc.

什么是在生产中监控它的好的“标准”工具?这将包括图表、警报触发器等。

回答by Kevin Gaasch

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.

spring-boot-admin 项目也是一个很棒的监控工具,您的生产支持人员可能会感兴趣。它根本不像石墨+grafana 那样处理和绘制指标,但它是一个非常简单的设置和使用工具查看所有正在运行的 spring-boot 应用程序的状态。

https://github.com/codecentric/spring-boot-admin

https://github.com/codecentric/spring-boot-admin

回答by DominicEU

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

你说得对!整天看着 JSON 对象并不是那么好看。我们团队认为方便的一种设置是使用以下