tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61476] New: Allow reset of an individual worker stat value
Date Fri, 01 Sep 2017 15:01:21 GMT
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


Mime
View raw message