微服務監控

1 Spring Boot Actutator

1.1 SpringBoot中引入依賴

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>
</dependencies>

1.2 開放端口

health info

management:
  endpoints:
    web:
      exposure:
        include: '*'

1.3 遊覽器查看

 

1.4 可視化界面Spring Boot Admin

 


2 Sentinel Dashboard


3 Spring Cloud Sleuth + Zipkin

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章