Re: Separated stats for http and https traffic

From: Dmitry Kurochkin <dmitry.kurochkin_at_measurement-factory.com>
Date: Wed, 05 Dec 2012 09:35:08 +0400

unjc email <unjc.email_at_gmail.com> writes:

> 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.
>

I suggest you look at how FTP protocol interval stats
(StatIntvlRec::theFtpStat) are handled. That should give you a good
idea on what changes you would need to make.

I still think you can achieve what you need without changing the code.
IMO it would easier for you to calculate pure-HTTP stats from existing
stats than add it to Polygraph.

Regards,
  Dmitry

>
> 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
_______________________________________________
Users mailing list
Users_at_web-polygraph.org
http://www.web-polygraph.org/mailman/listinfo/users
Received on Tue Dec 04 2012 - 22:44:44 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 19 2012 - 12:00:22 MST