标签:server rap ast hbase bsp project events san ring
1、什么是actuator
线上监控工具
2、如何整合
遵循三板斧
第一步加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
第二步加注解
无
第三步加配置
无
启动后访问项目路径加上/actuator
/actuator/health,作用健康检查。
在配置中加入
management.endpoint.health.show-details=always
Checks that a Cassandra database is up. |
|
Checks that a Couchbase cluster is up. |
|
Checks for low disk space. |
|
Checks that a connection to |
|
Checks that an Elasticsearch cluster is up. |
|
Checks that an InfluxDB server is up. |
|
Checks that a JMS broker is up. |
|
Checks that a mail server is up. |
|
Checks that a Mongo database is up. |
|
Checks that a Neo4j server is up. |
|
Checks that a Rabbit server is up. |
|
Checks that a Redis server is up. |
|
Checks that a Solr server is up. |
info端口主要是用来描叙应用信息的
info.app-name = pay
info.author = xiaofeiyang
info.email = 469821953@qq.com
actuator暴露的所有端点见
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
Yes |
|
N/A |
No |
|
Yes |
No |
|
Yes |
Yes |
|
Yes |
No |
|
N/A |
No |
|
N/A |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
N/A |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
|
Yes |
No |
标签:server rap ast hbase bsp project events san ring
原文地址:https://www.cnblogs.com/xiaofeiyang/p/12306338.html