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

Introduce AggregatingMetrics

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.1.5
    • Fix Version/s: 4.2 M2
    • Component/s: JMX Support
    • Labels:

      Description

      User wants the ability to gather raw data for metrics by sampling data vs capturing metric data for all messages in order to reduce the performance impact to SI message flow.
      Currently when using the DefaultMetricsFactory/DefaultMessageChannelMetrics performance drops around 50%.

      1. Introduce: AggregatingMetricsFactory, AggregatingMessageChannelMetrics and AggregatingMessageHandlerMetrics.
      2. Allow a user to select how often metrics should gathered, by passing a sampleSize (integer) to the constructor of AggregatingMessageChannelMetrics and AggregatingMessageHandlerMetrics.
        1. Constructor should verify that sampleSize is at least 1
      3. No logging, to improve overall performance

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grenfro Glenn Renfro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: