Re: Separated stats for http and https traffic

unjc email <[email protected]> Mon, 3 Dec 2012 18:29:24 -0500
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <CAG8sZZArGb07UYKF5og7ODWB+BRe=B6Xr05RLygdSwUF7BmQuA@mail.gmail.com>
If I want to modify the code to print the non-SSL stats to the console
log as well, please kindly advise which files I should look into.

Current Console Log:
008.30| i-Ramping  26171 505.19     97   0.00 2123    9
              ssl   9563  80.60     97   0.00   0    7
008.38| i-Ramping  26572 472.80    113   0.00 1963    9
              ssl   9763  80.20    113   0.00   0    8

Ideal Output:
008.30| i-Ramping  26171 505.19     97   0.00 2123    9
              http   9563  80.60     97   0.00   0    7
              ssl   9563  80.60     97   0.00   0    7
008.38| i-Ramping  26572 472.80    113   0.00 1963    9
              http   9563  80.60     97   0.00   0    7
              ssl   9763  80.20    113   0.00   0    8


I have added a new stat object "theHttpStat" to StatIntvl.cc, but
still not seeing the output I want.  Please give me some hints how I
could make StatCycle.cc to "http" stats as well.


Thanks,
Jacky


On Fri, Nov 30, 2012 at 2:23 AM, Dmitry Kurochkin
<dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> wrote:
> Hi Jacky.
>
> unjc email <[email protected]> writes:
>
>> Hi there,
>>
>> Is there any way to show individual statistics for http and https
>> traffic in console log?
>
> No.  Console output is not configurable.
>
>>   The default log show https (ssl) stats and
>> combined stats only.  I need to capture stats of regular HTTP traffic
>> for performance comparison as well.  Please help.
>>
>
> You should use binary logs for that.  We record plain HTTP stats.  But
> you can calculate it from other stats.  Keep in mind that CONNECT
> requests contribute to SSL stats.  So formula for plain HTTP stats in
> polygraph-lx output would be something like (basic - (ssl.rep -
> connect)).  It may be more complex depending on you workload.
>
> Regards,
>   Dmitry
>
>>
>> Thanks,
>> Jacky
>> _______________________________________________
>> Users mailing list
>> Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
>> http://www.web-polygraph.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users