moonchen opened a new pull request, #13270:
URL: https://github.com/apache/trafficserver/pull/13270

   A CPU-usage model that attributes process CPU to workload needs a per-plugin
   driver; today plugin CPU has no metric and lands in an unexplained baseline.
   Add proxy.process.plugin.<name>.{invocations,bytes,transfers}, keyed by the
   plugin DSO basename and bounded by the number of loaded plugins.
   
   invocations counts hook and remap callback dispatches, incremented at
   INKContInternal::handle_event and RemapPlugins::run_plugin.  bytes and 
transfers
   attribute PluginVC intercept transport to the owning plugin, captured on
   PluginVCCore at alloc.  Global plugins load via raw dlopen and previously 
carried
   no identity, so they are given a PluginThreadContext around TSPluginInit; the
   continuations they create then carry plugin identity the same way remap 
plugins
   already do.
   
   transfers is bumped once per PluginVC write-side pass; it reflects buffering 
and
   reenable behavior, so it is a diagnostic of transport activity rather than an
   external workload driver.
   


-- 
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]

Reply via email to