You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Manish Pandey <ma...@gmail.com> on 2010/08/11 23:42:17 UTC
Help with monitoring traffic - TS hits/second and origin server
requests/second
Hi Group,
I have configured TS as a reverse proxy, and would like to monitor the
following:
1. Number of hits/second, i.e., directly served by TS
2. Number of requests/second to origin server by TS
3. #1 and #2 in terms of MB/s
Any suggestions on hos this can be obtained?
Thanks,
Manish
Re: Help with monitoring traffic - TS hits/second and origin server requests/second
Posted by Manish Pandey <ma...@gmail.com>.
> Normally I'd look at something like (using traffic_line -r ...)
Thanks -- that worked. It would be nice to have stats like traffic
per client IP address of per domain. Any suggestions of what packages
to start off with for developing this?
>
> We probably need a "Wiki" page with a list of the most useful stats. Any volunteers? ;)
>
If there are no takers on this, I will be glad to work on this.
Manish
On Wed, Aug 11, 2010 at 3:50 PM, Leif Hedstrom <zw...@apache.org> wrote:
> On 08/11/2010 03:42 PM, Manish Pandey wrote:
>>
>> Hi Group,
>>
>> I have configured TS as a reverse proxy, and would like to monitor the
>> following:
>>
>> 1. Number of hits/second, i.e., directly served by TS
>> 2. Number of requests/second to origin server by TS
>
> Normally I'd look at something like (using traffic_line -r ...)
>
> proxy.process.http.incoming_requests
> proxy.process.http.outgoing_requests
>
> and calculate a delta over time.
>
> Also, I think
>
> proxy.node.user_agent_xacts_per_second
>
> will show number of client transactions / second as well. Not sure if
> there's a similar stat for origin requests. Cache hit ratios are available
> in a multitude of ways, probably the easiest being:
>
> proxy.node.cache_hit_ratio
> proxy.node.bandwidth_hit_ratio
>
>
>> 3. #1 and #2 in terms of MB/s
>
> There are similar "stats" for bits (I'd refer to either
> proxy/mgmt2/RecordsConfig.cc, my bible, or the Admin guide HTML docs). But,
> for example
>
> proxy.node.client_throughput_out
>
> should show "client" traffic.
>
>
> Also, you can run "sudo traffic_shell", and run various "show" commands
> interactively, e.g.
>
> % show:proxy-stats
>
>
>
> We probably need a "Wiki" page with a list of the most useful stats. Any
> volunteers? ;)
>
>
> -- leif
>
>
Re: Help with monitoring traffic - TS hits/second and origin server
requests/second
Posted by Leif Hedstrom <zw...@apache.org>.
On 08/11/2010 03:42 PM, Manish Pandey wrote:
> Hi Group,
>
> I have configured TS as a reverse proxy, and would like to monitor the
> following:
>
> 1. Number of hits/second, i.e., directly served by TS
> 2. Number of requests/second to origin server by TS
Normally I'd look at something like (using traffic_line -r ...)
proxy.process.http.incoming_requests
proxy.process.http.outgoing_requests
and calculate a delta over time.
Also, I think
proxy.node.user_agent_xacts_per_second
will show number of client transactions / second as well. Not sure if
there's a similar stat for origin requests. Cache hit ratios are
available in a multitude of ways, probably the easiest being:
proxy.node.cache_hit_ratio
proxy.node.bandwidth_hit_ratio
> 3. #1 and #2 in terms of MB/s
There are similar "stats" for bits (I'd refer to either
proxy/mgmt2/RecordsConfig.cc, my bible, or the Admin guide HTML docs).
But, for example
proxy.node.client_throughput_out
should show "client" traffic.
Also, you can run "sudo traffic_shell", and run various "show" commands
interactively, e.g.
% show:proxy-stats
We probably need a "Wiki" page with a list of the most useful stats. Any
volunteers? ;)
-- leif