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: ch...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to