Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3956

Channel Metrics report incorrect values for timeSinceLastSend

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2.2, 4.2.3, 4.2.4, 4.3 M1
    • Fix Version/s: 4.2.5, 4.3 M2
    • Component/s: Core, JMX Support
    • Labels:

      Description

      Recently I upgraded a Spring-XD environment from 1.2.0.RELEASE to 1.3.0.RELEASE, which included an upgrade from Spring-Integration 4.1 to 4.2.

      I had some dashboards monitoring JMX metrics for a custom module I'd written using Spring Integration, and I noticed that even when new messages came in on the input channel, the timeSinceLastSend was nearly always increasing, and never dropped back to 0.

      Here is a screenshot from dynaTrace. The yellow line is the input channel's sendCount, while the blue line is the input channel's timeSinceLastSend.

      The expected behavior is for the blue line to drop back fairly close to 0 whenever the yellow line goes up. In other words, timeSinceLastSend should go back to 0 the instant a new message is sent. This is how it worked in Spring-XD 1.2.0.RELEASE (and, by extension, Spring-Integration 4.1.x).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              sworisbreathing Steven Swor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: