moonchen opened a new pull request, #13271:
URL: https://github.com/apache/trafficserver/pull/13271
A transaction's header_rewrite CPU scales with how many operators it runs and
conditions it evaluates, which is set by the configured rules -- the per-hook
invocation count alone cannot distinguish a small ruleset from a large one.
Add
proxy.process.plugin.header_rewrite.{operators,conditions}, incremented in
the
inline Operator::do_exec and Condition::do_eval chain walkers. do_eval
respects
short-circuit, so only conditions actually evaluated are counted. The
counters
are created once, from both TSPluginInit and TSRemapInit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]