1 Reply Latest reply on Jun 26, 2006 4:33 PM by clebert.suconic

    Production Profiler - Metrics Collection vs. Invocation Call

      Clebert;

      I am still running a bit high level on the invocation call graph reporting and it's relationship to the actual invocation metrics collection, but here is my take on how they could be supported based on my assumption that graphing will have some higher overhead than simple metrics collection and aggregation (and jump in and correct me where I am off.......)

      The configuration meachanism to select between metrics and graphing/metrics can be in the interceptor adaptors. We can define two sets of adaptors, one that will generate stats only and one that will generate a call graph with embedded stats.

      Metrics only adaptors report simple flat collected stats on invocations (with the exception of the JDBC Proxy Driver which dives a bit deeper).

      The Call Graph/Metrics adaptors will generate call graphs with embedded metrics with the entry point for the call graph starting at the intercepting point of the configured adaptor.

      Does this make sense ?

      //Nicholas

        • 1. Re: Production Profiler - Metrics Collection vs. Invocation
          clebert.suconic

          We could enable disable graphs, sure.

          We could have the same interface (ThreadControl) encpsulating sending to statistics, graphs or both.

          I mean, we could change some parameter and having ThreadLocal (or BasicController) updating only statistics or the full call graph.


          Another thing that might make sense, is to enable/disable capturing based on the category.
          For example, we could enable/disable JDBC capturing.