Class ChannelMetricsReporter


  • @ConditionalOnProperty(prefix="synapse.edison.metrics",
                           name="enabled",
                           havingValue="true")
    @Component
    public class ChannelMetricsReporter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelMetricsReporter​(io.micrometer.core.instrument.MeterRegistry meterRegistry, java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources, java.util.Optional<StartupHealthIndicator> startupHealthIndicator)  
    • Method Summary

      Modifier and Type Method Description
      void messageReceived​(de.otto.synapse.info.MessageReceiverNotification messageReceiverNotification)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelMetricsReporter

        public ChannelMetricsReporter​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                      java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources,
                                      java.util.Optional<StartupHealthIndicator> startupHealthIndicator)
    • Method Detail

      • messageReceived

        @EventListener
        public void messageReceived​(de.otto.synapse.info.MessageReceiverNotification messageReceiverNotification)