Skip to content

Commit

Permalink
添加docs images
Browse files Browse the repository at this point in the history
  • Loading branch information
icodening committed Aug 4, 2021
1 parent 574a5d3 commit 00966f6
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
>7. 在线实时查看应用日志
>8. 可对实例SQL进行监控
``注: 当前版本功能较为简单,等待后续扩展``
``注: 该项目仅供学习使用,不可用于生产,且功能较为简单,等待后续扩展``
# Build
````shell script
mvn package
Expand Down Expand Up @@ -45,6 +45,48 @@ mvn package
#Agent连接的控制台后端地址
serverAddress=http://127.0.0.1:28080
````

# Screenshot
#### 配置应用启动参数: -javaagent:/xxx/console-agent.jar
![vm-option](./docs/images/usage-vmoption.png)

#### 应用完整依赖与启动日志
![dependency](./docs/images/adapterLog.png)

#### 应用注册成功后将会在此显示
![app-list](./docs/images/applist.png)

#### 查看应用日志, 直接点击"查看日志"按钮即可
![app-log](./docs/images/log.png)

#### 查看SQL记录, 直接点击"SQL监控"按钮即可
![app-log](./docs/images/sqlmonitor.png)

#### 流量控制配置, 下图表示限制AppConsoleDemo应用的/echo访问频率上限为每秒1次
![app-ratelimit](./docs/images/ratelimit.png)

#### 动态配置(支持Nacos SpringBoot及Nacos SpringCloud)
当不对接Nacos Config Center时,会自带有一个极其轻量配置中心,亦可动态刷新@Value的配置。
下图表示配置AppConsoleDemo应用中,key为env的配置项.
``注: 对接第三方配置中心时并不会回显第三方配置中心的配置,但修改时会同步发布配置到对应的第三方配置中心``
![dynamic-config](./docs/images/dynamicConfig.png)

#### Spring Cloud 测试应用依赖及启动日志
如图,Spring Cloud环境下将会启用一些独有功能
![spring-cloud-app](./docs/images/serviceConsumerDependencies.png)
#### 路由配置(支持RestTemplate, OpenFeign)
![app-route](./docs/images/dynamicRouter.png)
满足配置条件的情况如下
![app-route](./docs/images/dynamicRouteResult.png)
不满足配置条件的情况如下
![app-route](./docs/images/dynamicRouteResult2.png)

#### 路由过滤(支持Nacos、Eureka,支持RestTemplate、OpenFeign调用方式)
![app-route-filter](./docs/images/routeFilter.png)
满足条件的调用结果
![app-route-filter](./docs/images/routeFilterResult.png)
不满足条件的调用结果
![app-route-filter](./docs/images/routeFilterResult2.png)
# PS
1. 仅支持基于SpringBoot 2.0.0.RELEASE及以上版本开发的应用
2. 在Spring环境下, 标识有@Extension接口的实现将被Spring容器接管,将享有Spring的特性。
Expand Down
Binary file added docs/images/adapterLog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/applist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dynamicConfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dynamicRouteResult.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dynamicRouteResult2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/dynamicRouter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ratelimit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routeFilter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routeFilterResult.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routeFilterResult2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/serviceConsumerDependencies.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/sqlmonitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/usage-vmoption.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 00966f6

Please sign in to comment.