[
https://issues.apache.org/jira/browse/ZOOKEEPER-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
王震 updated ZOOKEEPER-2768:
--------------------------
Description:
Some ideas about four word command
1) about cons,can we add command dimension data,such like
now
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1)
-----------------------------------
after
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1,
cmd={{name=ping,count=10000,time=123405,maxCount=34},{name=setData,count=5000,time=2246,maxCount=21},{name=getData,count=3000,time=34345,maxCount=14}})
2) about wchc and wchp,can we add param in order to return litter data,such as
wchc 0x154c32e8c2a5b8c
wchp /path/temp
3)many scenarios we need to monitor the detailed slow request,so we need a slow
log queue,such as
slow
setData /path/temp aaaaaaaaaaaaaaa clientIp useTime
setData /path/temp bbbbbbbbbbbbbbb clientIp useTime
was:
Some ideas about four word command
1) about cons,can we add command dimension data,such like
now
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1)
-----------------------------------
after
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1,
cmd={{name=ping,count=10000,time=123405,maxAvg=34},{name=setData,count=5000,time=2246,maxAvg=21},{name=getData,count=3000,time=34345,maxAvg=14}})
2) about wchc and wchp,can we add param in order to return litter data,such as
wchc 0x154c32e8c2a5b8c
wchp /path/temp
3)many scenarios we need to monitor the detailed slow request,so we need a slow
log queue,such as
slow
setData /path/temp aaaaaaaaaaaaaaa clientIp useTime
setData /path/temp bbbbbbbbbbbbbbb clientIp useTime
> Some ideas about four word command
> ----------------------------------
>
> Key: ZOOKEEPER-2768
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2768
> Project: ZooKeeper
> Issue Type: Improvement
> Components: contrib
> Affects Versions: 3.4.10, 3.5.1, 3.5.2
> Reporter: 王震
> Priority: Critical
>
> Some ideas about four word command
> 1) about cons,can we add command dimension data,such like
> now
> /10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
> to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1)
> -----------------------------------
> after
> /10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
> to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1,
> cmd={{name=ping,count=10000,time=123405,maxCount=34},{name=setData,count=5000,time=2246,maxCount=21},{name=getData,count=3000,time=34345,maxCount=14}})
> 2) about wchc and wchp,can we add param in order to return litter data,such
> as
> wchc 0x154c32e8c2a5b8c
> wchp /path/temp
> 3)many scenarios we need to monitor the detailed slow request,so we need a
> slow log queue,such as
> slow
> setData /path/temp aaaaaaaaaaaaaaa clientIp useTime
> setData /path/temp bbbbbbbbbbbbbbb clientIp useTime
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)