portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17632] New: - patch to add portlet.getContent() load time to PortletStats service
Date Tue, 04 Mar 2003 10:24:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17632>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17632

patch to add portlet.getContent() load time to PortletStats service

           Summary: patch to add portlet.getContent() load time to
                    PortletStats service
           Product: Jetspeed
           Version: 1.4b4-dev /CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Portlet Container
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: tkuebler@cisco.com


I've included 4 diffs to add portlet load time to the PortletStats package.  It 
uses the last field which is typically bytes transferred and is set to "-" in 
the portlet stats package.  Since the field is the same, i.e. a string 
representation of an integer/long it should still work with your standard log 
parsing tools with no modification.  Of course it is reporting milliseconds it 
took to return from 'portlet.getContent()' instead of bytes transferred, but 
that should be easy to translate.

If you guys find it useful you are welcome to commit it, I am finding it 
extremely useful.  I also am toying with the idea of adding the time to call 
getcontent to the title bar of each portlet in the same color as the title 
bar.  I don't know what it would take yet, but the most common problem here is 
a slow loading portlet bringing down the whole portal, and how do you figure 
out which one?  It would be nice to simply highlight the title bar and identify 
the offender.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message