Details

    • Similar Issues:

      Description

      Channel already keeps some rudimentary statistics about class loading (classLoadingCount and so on), which can give insight into slow initial builds. But there are many cases where we suspect that a performance or reliability problem is ultimately due to excessive traffic on the channel, yet cannot prove this except via the crude tool of a network traffic analyzer, and have no visibility into which features (plugins) are responsible and whether the traffic is really necessary.

      Propose that we add some more statistics (counts, mean, median, standard deviation) maintained per Channel for each of the three types of Request/Response.

      • For ProxyInputStream/ProxyOutputStream, record number of pipes opened and closed in each direction, and bytes sent on them. Ideally we would like to get some information about what code opened the stream, though I am not sure how to aggregate this well, since stack traces are too variable.
      • For RPCRequest, record the implementation class name of the proxied object, perhaps the method name/signature being called, the number of calls, their duration, the byte size of the request, the byte size of the response.
      • For UserRequest, record the implementation class name of the Callable (or delegate of a FileCallableWrapper), number of calls, duration, byte sizes of request and response.

      These statistics could be reported in various places:

      • Slave system information page.
      • support-core bundles. (Of course aggregate data across channels should be recorded, so it is still available after slave disconnections.)
      • metrics data.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            schristou Steven Christou made changes -
            Field Original Value New Value
            Assignee Steven Christou [ schristou ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 161226 ] JNJira + In-Review [ 180618 ]
            jglick Jesse Glick made changes -
            Assignee Steven Christou [ schristou ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "remoting PR 204 (Web Link)" [ 17842 ]
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "core PR 3071 (Web Link)" [ 17843 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-45897 [ JENKINS-45897 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-38381 [ JENKINS-38381 ]
            jglick Jesse Glick made changes -
            Link This issue relates to HOSTING-464 [ HOSTING-464 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "support-core PR 128 (Web Link)" [ 19424 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Link JENKINS-46154 [ 184393 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "remoting PR 250 (Web Link)" [ 19996 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            escoem Emilio Escobar made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 20261 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 20296 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "remoting PR 287 (Web Link)" [ 21810 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: