Re: Separated stats for http and https traffic
Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Wed, 05 Dec 2012 09:35:08 +0400
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
unjc email <[email protected]> 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-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