Package de.otto.synapse.edison.metrics
Class ChannelMetricsReporter
java.lang.Object
de.otto.synapse.edison.metrics.ChannelMetricsReporter
@ConditionalOnProperty(prefix="synapse.edison.metrics",
name="enabled",
havingValue="true")
@Component
public class ChannelMetricsReporter
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionChannelMetricsReporter(io.micrometer.core.instrument.MeterRegistry meterRegistry, Optional<List<de.otto.synapse.eventsource.EventSource>> eventSources, Optional<StartupHealthIndicator> startupHealthIndicator) -
Method Summary
Modifier and TypeMethodDescriptionvoidmessageReceived(de.otto.synapse.info.MessageReceiverNotification messageReceiverNotification)
-
Constructor Details
-
ChannelMetricsReporter
public ChannelMetricsReporter(io.micrometer.core.instrument.MeterRegistry meterRegistry, Optional<List<de.otto.synapse.eventsource.EventSource>> eventSources, Optional<StartupHealthIndicator> startupHealthIndicator)
-
-
Method Details
-
messageReceived
@EventListener public void messageReceived(de.otto.synapse.info.MessageReceiverNotification messageReceiverNotification)
-