MetricSnapshotStore
Metric decorator for snapshot stores that collects metrics on snapshot storage and retrieval operations. This class wraps a SnapshotStore implementation and adds metrics collection with tags for aggregate name and source identification to track snapshot store performance.
Properties
Functions
Gets the version of the latest snapshot for the specified aggregate ID and collects metrics on the operation. Metrics collected include timing and tags for aggregate identification.
Wraps a SnapshotStore with metrics collection capabilities. Returns a MetricSnapshotStore that collects metrics on snapshot storage operations.
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.