You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/04 23:13:51 UTC
request-time tracking patch to apache_1.1b2 (fwd)
Reply-to: ken@spry.com
To: apache-bugs@apache.org
Subject: request-time tracking patch to apache_1.1b2
Date: Tue, 04 Jun 1996 13:58:55 -0700
Sender: Ken Pizzini <ke...@spry.com>
From: Ken Pizzini <ke...@ember.spry.com>
Message-Id: <96...@ember.spry.com>
We want our logs to show the "duration" of a request -- i.e.
how long it took to fulfill the request from start to finish.
We wrote a module to take care of this, but we needed to add
the timestamp of when the request began to be received into
the main-line source. As I think that this information is
potentially useful to other's modules I am offering the
patches made to the apache_1.1b2 sources to track this datum.
(The module itself is not (yet?) available for public release,
though the logic is trivial: subtract the request_at time from
the time when the log function gets called and print the difference
in the apropriate "column" of the output.)
BTW: is "apache-bugs" really the right place for me to be
sending these "suggested enhancements" patches?
--Ken Pizzini
begin 664 patch-reqat.gz
M'XL("(V=M#$"`W!A=&-H+7)E<6%T`(U46V_:,!1^)K_BJ'M8N0020KD$48'6
M;M/$UDJC#WN*C&.:J(F=V4Y9MS\_VPDA89VH)11\+I]]SO<=OT-A")S\S(F0
M`9*0DG1+.$A6&3G!("3/L<PYL<)XMP.;YX`RA",2N'UW.[09CQ\'@N-!)&46
M9)Q)AEG2QXVHUP(LV[;?!M7:Y`16&0=W#,[8=QS?=<"=S<96M]L]>T[K*Z/P
M):<`G@+PO:&O8$SV<@FV-YWTQM#5GPDLEQ;\L4"O>@LZ'!9PV;"T,XR2A&&X
MQ(Q2^SIC+.F!B'\3MJM'MMMSC6=U#:9]76OW`F2<DLMO#^MU$60"-!S!,E9W
M7H#>'%V"\&?"2_-A>W3K*RAGBIY((/)MH/>UVZDS=+VCJY&N=W1U5=9KP3.+
M0Q!$FBQUP:IW)S5S2O:]D\:T=<.*XI3W;'TF!@FQ1?AICW@H5)0[;PTZ<,/H
M>ZEN04.("`H)%[#C+`49Q:(/G4$=@+(`:\Z+Y&.VY"]:O0;DX?MML+[[L%H'
M'^[N?\".<4`6M-2"CD)&CRFALO\F39<U_5?2E?^<HJO`2M`P`W=J!#TY)^AF
MLM'S"%S7=SS?FQWU/)D:?B=3I^17+].UE,B(A0'-S90OM&0:II*C6H:02.:B
M""W^SPNN_Z6Z(>UY#>.$;-ZTU",+V@-&DY<BL&:HQU7J-$&'W?PM5(;]Z/7N
M*L<9\E1$Q=K0@Z'C.U/?]<ZPIK-.GI]Q]7B9Y\=US?.C/A5=A=CU#T>(0T<J
MV+*YA=H_QEQ(2&)*@.T.`ZE>'P9[`AA12-@CQ%(#*;KT%`:R]M`7(!MEAGU$
MJ!HQ<O!"K,;.H*OQ)O$S"<O;Q%1"@SB#\7FSN1\X_5D/+D2<9@FYJ(".:8JA
M7R_*/(?3I1!6A?N5M#K[Q6&WJYMCL4@`RS(FU`W5R'^ZW>C4O]L<`7K2!@``
`
end
----- End of forwarded message from Ken Pizzini -----
--
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb) http://www.imdb.com/
...more movie info than you can poke a stick at.
Re: request-time tracking patch to apache_1.1b2 (fwd)
Posted by Brian Behlendorf <br...@organic.com>.
For the record, being able to track in a log how long it took to serve a
file would be a very good thing - we have people asking us how long it
takes the average suchnsuch page to be rendered or the large application
to be downloaded or whatever, so this would be valuable. Makes sense
that this should simply be another function in mod_log_config.c. The
poster from sprynet.com implied that something had to be added to the
core to determine the initial connection time - yet the status module
is able to show how long an active connection has been alive, so I'm
wondering if the core actually needs to be altered to support this. Any
guesses?
Brian
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com | We're hiring! http://www.organic.com/Home/Info/Jobs/