mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-06 08:48:30 +08:00
update docs
This commit is contained in:
parent
85fd09f472
commit
d275479f4a
14
README.md
14
README.md
@ -1,6 +1,11 @@
|
||||
# koTime
|
||||
|
||||
> `V2.0.0` 添加异常监测,开放数据接口,修复与swagger冲突bug,添加配置动态更新功能以及重构数据存储机制
|
||||
> `V2.0.1` 1.移除freemarker与thymeleaf;
|
||||
2.移除spring.profiles.active=koTime配置;
|
||||
3.优化方法链路获取机制(移除getAllStackTraces());
|
||||
4.替换layui
|
||||
5.优化配置方式
|
||||
6.优化页面显示
|
||||
|
||||
|
||||
#### 介绍
|
||||
@ -67,7 +72,12 @@ http://huoyo.gitee.io/ko-time
|
||||
|
||||
> V2.0.0:添加异常监测,开放数据接口,修复与swagger冲突bug,添加配置动态更新功能以及重构数据存储机制
|
||||
|
||||
> V2.0.1:移除freemarker与thymeleaf;移除`spring.profiles.active=koTime`配置;优化方法链路获取机制(移除getAllStackTraces())
|
||||
> V2.0.1:移除freemarker与thymeleaf;
|
||||
移除spring.profiles.active=koTime配置;
|
||||
优化方法链路获取机制(移除getAllStackTraces());
|
||||
替换layui;
|
||||
优化配置方式;
|
||||
优化页面显示;
|
||||
|
||||
|
||||
#### 特别说明
|
||||
|
||||
@ -10,4 +10,4 @@
|
||||
|
||||
[Gitee](https://gitee.com/huoyo/ko-time)
|
||||
[预览](http://huoyo.gitee.io/ko-time/example/)
|
||||
[文档教程](v200/introduce)
|
||||
[文档教程](v201/introduce)
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
|
||||
在pom.xml文件中引入
|
||||
|
||||
> 近期将发版,如有需要可自行前往开源地址打包
|
||||
|
||||
```
|
||||
<dependency>
|
||||
@ -32,7 +31,7 @@
|
||||
> ko-time.log-enable=false # 是否开启控制输出,默认false
|
||||
> ko-time.log-language=chinese # 控制台输出语言(english/chinese)默认chinese
|
||||
> ko-time.threshold=800.0 # 时间阈值,用于前端展示,大于阈值显示红色,小于阈值显示绿色,默认800
|
||||
> ko-time.context-path=http://localhost:80 # 前端页面获取静态资源的上下文环境,无法自动获取的时候手动配置
|
||||
> ko-time.context-path=http://localhost:80 # 前端页面调用接口的上下文环境,无法自动获取时可手动配置
|
||||
> ko-time.exception-enable=true # 是否开启异常检测,默认为false,开启后会对方法内部抛出的异常进行统计 v2.0.0开始支持
|
||||
>
|
||||
|
||||
@ -49,7 +48,9 @@
|
||||
|
||||
如果项目自定义的contextpath,访问如`http://localhost:8080/xxx服务/koTime`
|
||||
|
||||
如:application.properties中定义了 `server.servlet.context-path=myservice`,那么访问路径为`http://localhost:8080/myservice/koTime`
|
||||
如:application.properties中定义了 `server.servlet.context-path=/myservice`,那么访问路径为`http://localhost:8080/myservice/koTime`
|
||||
|
||||
如果页面能正常显示,但是无法获取方法链路,可配置`ko-time.context-path=http://localhost:8080/myservice`
|
||||
|
||||
|
||||
---
|
||||
|
||||
@ -8,6 +8,7 @@ http://huoyo.gitee.io/ko-time/example
|
||||
|
||||
|
||||
## 优点
|
||||
|
||||
> * 实时监听方法,统计运行时长
|
||||
> * web展示方法调用链路,瓶颈可视化追踪
|
||||
|
||||
@ -41,7 +42,12 @@ http://huoyo.gitee.io/ko-time/example
|
||||
|
||||
> V2.0.0:添加异常监测,开放数据接口,修复与swagger冲突bug,添加配置动态更新功能以及重构数据存储机制
|
||||
|
||||
> V2.0.1:移除freemarker与thymeleaf;移除`spring.profiles.active=koTime`配置;优化方法链路获取机制(移除getAllStackTraces())
|
||||
> V2.0.1:移除freemarker与thymeleaf;
|
||||
移除spring.profiles.active=koTime配置;
|
||||
优化方法链路获取机制(移除getAllStackTraces());
|
||||
替换layui;
|
||||
优化配置方式;
|
||||
优化页面显示
|
||||
|
||||
|
||||
## 作者
|
||||
|
||||
@ -43,6 +43,10 @@ shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);
|
||||
|
||||
打开f12查看静态资源路径加载是否正确,如果不正确,手动配置属性`ko-time.context-path=http://ip:port/contextPath`
|
||||
|
||||
## V2.0.1开始更改了配置,V2.0.0的配置方式是否可用
|
||||
|
||||
V2.0.1开始,两种配置均生效,建议使用新的配置方式
|
||||
|
||||
## 问题咨询
|
||||
|
||||
访问[koTime开源地址](https://gitee.com/huoyo/ko-time)进行咨询
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user