These new stats methods are in Jetty CVS if you want them in a hurry.
I'll update the snapshot releases tomorrow.

cheers


Greg Wilkins wrote:

> So would you be OK with the following stats:
>     
>     private transient long _statsStartedAt=0;            // time stats 
> collection started
>     
>     private transient int _connections;                  // total number of 
> connections made to server
>     
>     private transient int _connectionsOpen;              // number of 
> connections currently open
>     private transient int _connectionsOpenMin;           // min number of 
> connections open simultaneously
>     private transient int _connectionsOpenMax;           // max number of 
> connections open simultaneously
>     
>     private transient long _connectionsDurationMin;      // min duration of a 
> connection
>     private transient long _connectionsDurationMax;      // max duration of a 
> connection
>     private transient long _connectionsDurationTotal;    // total duration of 
> all coneection
>     
> 
>     private transient int _errors;                       // total bad 
> requests to the server
>     private transient int _requests;                     // total requests 
> made to the server
> 
>     private transient int _requestsActive;               // number of 
> requests currently being handled
>     private transient int _requestsActiveMin;            // min number of 
> connections handled simultaneously
>     private transient int _requestsActiveMax;            // max number of 
> connections handled simultaneously
>     
>     private transient int _connectionsRequestsMin;       // min requests per 
> connection
>     private transient int _connectionsRequestsMax;       // max requests per 
> connection
> 
>     private transient long _requestsDurationMin;         // min request 
> duration
>     private transient long _requestsDurationMax;         // max request 
> duration
>     private transient long _requestsDurationTotal;       // total request 
> duration
>     


Reply via email to