mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-07 01:08:26 +08:00
update docs
This commit is contained in:
parent
975c2f624d
commit
80eee8ba1a
@ -18,7 +18,7 @@ Add some options in `application.properties`
|
|||||||
* Required options
|
* 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 language(english/chinese),default chinese
|
ko-time.log-language=chinese # console's language(english/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.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.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 switch,default false. added inv2.0.0
|
ko-time.exception-enable=true # exception detect switch,default false. added in v2.0.0
|
||||||
ko-time.auth-enable=true # authentication switch,default false. added in v2.0.2
|
ko-time.auth-enable=true # authentication switch,default false. added in v2.0.2
|
||||||
ko-time.user-name=xxxx # username 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.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 data,options in {memory,database} default memory. added in v2.2.0-BETA
|
ko-time.saver=memory # a place to store data,options 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
|
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:
|
> Notice:
|
||||||
> 1.added above configurations,you need also add some dependencies about aop such as aspectj or spring-boot-starter-aop.
|
> 1.added above configurations,you 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.
|
> 3.stop here,you done all jobs.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user