e2ab13168467d93419e16de97989471786ffe0ef
NewEventsourcedMetrics returns an eventsourced.MetricsRecorder that maps the framework's Metric values (command duration, event store/load, snapshots, idempotency checks) onto OTel instruments on the global MeterProvider set by SetupOTelSDK. Intended for pg.WithMetrics and eventsourced.WithMetrics.
Shiny otelsetup
Description