Separated stats for http and https traffic

unjc email unjc.email at gmail.com
Mon Dec 3 23:29:24 UTC 2012


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 at measurement-factory.com> wrote:
> Hi Jacky.
>
> unjc email <unjc.email at gmail.com> 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 at web-polygraph.org
>> http://www.web-polygraph.org/mailman/listinfo/users



More information about the Users mailing list