update docs

This commit is contained in:
huoyo 2022-06-03 13:46:59 +08:00
parent 975c2f624d
commit 80eee8ba1a

View File

@ -18,7 +18,7 @@ Add some options in `application.properties`
* Required options
>
> ko-time.pointcut=`execution(public * com.huoyo..*.*(..))` # monitoring scope(refer to aop's @pointcut
> ko-time.pointcut=`execution(public * com.huoyo..*.*(..))` # monitoring scope(refer to aop's @pointcut)
>
@ -30,11 +30,11 @@ ko-time.log-enable=false # KoTime's console log switch,default false
ko-time.log-language=chinese # console's languageenglish/chinese,default chinese
ko-time.threshold=800.0 # time threshold for the method node whose color is red if its avgRunTime>threshold,default 800
ko-time.context-path=http://localhost:80 # context path for the viwer,and you need not set it under normal circumstances. added in v2.0.1
ko-time.exception-enable=true # exception detect switchdefault false. added inv2.0.0
ko-time.exception-enable=true # exception detect switchdefault false. added in v2.0.0
ko-time.auth-enable=true # authentication switchdefault false. added in v2.0.2
ko-time.user-name=xxxx # username added in v2.0.2
ko-time.password=xxxx # password added in v2.0.2
ko-time.param-analyse=true # param-analyse switch default true. added in v2.0.8(you can see it when you dblclick on the method node)
ko-time.param-analyse=true # param-analyse switch, default true. added in v2.0.8(you can see it when you dblclick on the method node)
ko-time.saver=memory # a place to store dataoptions in {memory,database} default memory. added in v2.2.0-BETA
ko-time.thread-num=2 # thread-num to to store data,default 2. this value is due to the performance of cpu and database.added in v2.2.0-BETA
```
@ -43,7 +43,7 @@ ko-time.thread-num=2 # thread-num to to store data,default 2. this value is due
> Notice
> 1.added above configurationsyou need also add some dependencies about aop such as aspectj or spring-boot-starter-aop.
> 2.allow `/koTime` and `/koTime/**` to access you service without authorization
> 2.allow `/koTime` and `/koTime/**` to access you service without authorization
> 3.stop here,you done all jobs.