geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viet Hung Nguyen (JIRA)" <>
Subject [jira] Commented: (GERONIMO-3490) Missing Jetty Connector stats
Date Mon, 01 Oct 2007 13:53:51 GMT


Viet Hung Nguyen commented on GERONIMO-3490:

The start time does not change with every sample. The formula I used was 

getStatsOnMs() * (-1) + System.currentTime() = (System.currentTime - statsStartedAt) * (-1)
+ System.currentTime()
                                                                                   = statsStartedAt
<== what we want

The lastSampleTime is updated every click because jetty does not provide that...we do with
System.currentTime(). Anything that jetty provides for jetty connectors is not updated until
after the browser is closed. Also, there are some statistics (i.e. busyThreads, bytesReceived,
bytesSent, requestTime) that Jetty does not provide although it may seem like it from our
current implementation. Should we throw an UnsupportedException or move these stats to just
the tomcat specific code or something else?

Also the Jetty Container stats does not always have to be on. I believe you can turn them
off, we just haven't been able to configure it to do so. But that should probably be discussed
in another jira.

> Missing Jetty Connector stats
> -----------------------------
>                 Key: GERONIMO-3490
>                 URL:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.1
>         Environment: windows xp
>            Reporter: Viet Hung Nguyen
>            Assignee: Anita Kulshreshtha
>         Attachments: geronimo-3490.patch, geronimo-3490b.patch
> Jetty6 provides connector statistics, but they are not being surfaced in Geronimo's source

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message