update docs

This commit is contained in:
huoyo 2021-08-28 16:01:01 +08:00
parent 85fd09f472
commit d275479f4a
5 changed files with 28 additions and 7 deletions

View File

@ -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
优化配置方式;
优化页面显示;
#### 特别说明

View File

@ -10,4 +10,4 @@
[Gitee](https://gitee.com/huoyo/ko-time)
[预览](http://huoyo.gitee.io/ko-time/example/)
[文档教程](v200/introduce)
[文档教程](v201/introduce)

View File

@ -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`
---

View File

@ -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
优化配置方式;
优化页面显示
## 作者

View File

@ -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)进行咨询