MetricCommandBus
Metric decorator for command buses that collects metrics on command sending and receiving operations. This class wraps any CommandBus implementation and adds metrics collection with tags for aggregate name, command name, and source identification.
Parameters
the underlying command bus implementation
Type Parameters
the specific type of CommandBus being decorated
Inheritors
Functions
Receives command 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 command message and collects metrics on the operation. Metrics collected include timing, success/failure rates, and tags for aggregate and command identification.
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.