You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/09/01 15:01:21 UTC

[Bug 61476] New: Allow reset of an individual worker stat value

https://bz.apache.org/bugzilla/show_bug.cgi?id=61476

            Bug ID: 61476
           Summary: Allow reset of an individual worker stat value
           Product: Tomcat Connectors
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: chris@christopherschultz.net
  Target Milestone: ---

mod_jk stats worker allows authorized users to "reset" the statistics for a
particular worker. For example, errors=0, sessions=0, requests=0, etc. All
stats are reset to their initial values (usually 0).

It would be nice to be able to reset a specific value and not the others. For
example, reset errors=0 but leave request/session counts, byte counters, etc.
all at their current values.

The current URL for resetting worker stats is:

/jk-status?cmd=reset&w=[worker]&sw=[subworker]

I suggest adding another optional parameter "s" (for "stat") whose value can be
any of:

  Acc
  Sess
  Err
  CE
  RE
  Wr
  Rd
  MaxBusy
  MaxCon
  Rs (?)
  LR (?)
  LE

...or a comma-separated list of any of those values. (These values match the
shorthand names for the various mod_jk worker stats). Alternatively, multiple
"s" parameters could be processed instead of a single comma-separated list of
stats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61476] Allow reset of an individual worker stat value

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61476

Hazem Hosny <ma...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Alias|                            |I, say

--- Comment #1 from Hazem Hosny <ma...@yahoo.com> ---
No comment

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org