Skip to content

Commit 0b6aacd

Browse files
authored
Update README.md
1 parent 4d7669c commit 0b6aacd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121

2222
4.指标的相关性趋势图(指标可配,且可多个指标同时显示在一张图上)
2323

24-
使用方创建http服务以提供一个handler给库,当需要查看时,库才会渲染。目标指标通过http的para参数可配,格式为[]=[指标],比如gateway=con_qps&auth=
25-
con_qps,注意指标要用别名
24+
使用方创建http服务,库内置了一个handler,通过接口将handler绑定在使用方的http服务上,当需要查看时,库才会渲染。目标指标通过http的para参数可配,格式为[]=[指标],比如http://xx.com/watch?gateway=con_qps&auth=con_qps,注意指标要用别名
25+
26+
启用趋势图功能时,库会对所有指标保留600个点
2627
# 如何使用
2728
example目录是示例代码
2829
```
@@ -48,3 +49,5 @@ close_qpk=72/s, close_sum=215, TO=686464, WSOF=2059392, WSUP=1372928, conn_val=6
4849
4950
{"auth":{"qps":{"log":205616,"psf_qps":70,"pso":205616,"psw":205615},"sum":{"LOGIN":686465,"PSW":686464,"psf_sum":215}},"gateway":{"qps":{"close_qps":70,"to":205615,"wsof":616845,"wsup":411230},"qps_peak":{"close_qpk":71},"sum":{"TO":686464,"WSOF":2059392,"WSUP":1372928,"close_sum":215},"val":{"conn_val":686464}}}
5051
```
52+
53+

0 commit comments

Comments
 (0)