MetricLocalStateEventBus
Metric decorator specifically for local state event buses. Extends MetricStateEventBus to provide metrics collection for local state event bus operations while maintaining the LocalStateEventBus interface.
Parameters
the underlying local state event bus implementation
Properties
Functions
Wraps a LocalStateEventBus with metrics collection capabilities. Returns a MetricLocalStateEventBus that collects metrics on state event operations.
Receives state event exchanges for the specified named aggregates and collects metrics on the operation. Metrics collected include timing and tags for aggregate identification and subscriber information.
Creates a single message source with an explicit transport readiness boundary.
Creates the message source owned by a me.ahoo.wow.runtime.WowRuntime dispatcher.
Sends a state event and collects metrics on the operation. Metrics collected include timing, success/failure rates, and tags for aggregate identification.
Attempts local delivery only while a processing subscriber is routable.
Returns the number of subscribers for the specified named aggregate. This delegates to the underlying local state event bus implementation.
Extension function to tag a Flux publisher with the current source identifier. This adds the source tag to metrics collected from this reactive stream.
Extension function to tag a Mono publisher with the current source identifier. This adds the source tag to metrics collected from this reactive stream.