HI Jonathan,
You mean to say that the hrsp_2xx will always increment. But it doesn't
seems to be as the value are always floating.
My major concern is how will one manage to see that how many client are
getting and 3xx/2xx code when they are getting served.
The "show stat" can be looked up as many time we want. Is there any way
where we can be sure that the show stat is showing the stat from last
last 5 min or 1 min or what ever elapsed time.
But it is becoming difficult to understand this. since I'm not sure how
many clients has got served 2xx during the particular time.
epoch
2xx 3xx 4xx 5xx
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198785:45511301:98:26038:31575275:13471396:363095:100026:0:0:79:0:79789
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198795:42791104:67:24597:29708693:12645578:339827:95649:0:0:70:0:74804
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198806:42791857:67:24597:29709185:12645831:339837:95649:0:0:69:0:74804
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198816:41279933:77:23783:28669637:12186636:327477:94791:0:0:82:0:71402
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198826:42793399:67:24597:29710228:12646304:339855:95650:0:0:68:0:74804
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198836:42434557:62:24019:29566746:12441335:333463:91580:0:0:68:0:74536
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198846:42946664:67:24746:29825328:12683434:340971:95572:0:0:82:0:74749
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198856:42436066:62:24019:29567729:12441842:333486:91583:0:0:68:0:74536
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198866:42796417:67:24600:29712213:12647285:339903:95658:0:0:74:0:74804
PUTVAL test.example.com/haproxy/haproxy_backend-example
1371198876:41230675:69:23321:28667585:12141642:327160:92959:0:0:71:0:71350
On Wednesday 12 June 2013 07:09 PM, Jonathan Matthews wrote:
On 12 June 2013 10:20, Ashish Jaiswal <[email protected]> wrote:
The problem is that the "rate" is showing something different and the
hrsp_2xx is showing something different.
[snip]
# 33. rate: number of sessions per second over last elapsed second
This is what it says it is: sessions/sec over the last second.
# 39. hrsp_1xx: http responses with 1xx code
# 40. hrsp_2xx: http responses with 2xx code
# 41. hrsp_3xx: http responses with 3xx code
# 42. hrsp_4xx: http responses with 4xx code
# 43. hrsp_5xx: http responses with 5xx code
These are absolute incremental counters over the lifetime of the
HAProxy process.
I don't think the 2 (rate & counters) are directly comparable, and I'd
definitely expect them to show different values.
HTH,
Jonathan
--
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html
--
- Ashish