Skip to content

Commit

Permalink
update readme monitor pic
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhom1314 committed Oct 22, 2023
1 parent 2d3a450 commit 65a0ee6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ protected void afterExecute(Runnable r, Throwable t);

## 监控

![监控数据](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ec5a7d1a31e7418ba5d9a101a5c03826~tplv-k3u1fbpfcp-zoom-1.image)
![监控数据1](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/98776a0475864a85a2f1f5c63d063f15~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=3012\&h=1856\&s=346732\&e=png\&b=1a1c20)
![监控数据2](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/6112e049e714407db060512c832b41ba~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=3020\&h=1384\&s=237861\&e=png\&b=1a1c20)
![监控数据3](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a7fe42fdeb4d4fe8acfcbdcc72b3578e~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=3014\&h=926\&s=163650\&e=png\&b=1a1c20)

目前框架提供了四种监控数据采集方式,通过 collectorTypes 属性配置监控指标采集类型,默认 Micrometer

Expand Down
12 changes: 12 additions & 0 deletions example/example-consul-cloud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
Expand Down Expand Up @@ -58,6 +65,11 @@
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

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

</project>

0 comments on commit 65a0ee6

Please sign in to comment.