feat: add eventsourced MetricsRecorder adapter for OpenTelemetry #142
Reference in New Issue
Block a user
Delete Branch "feat/eventsourced-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
NewEventsourcedMetrics()returning aneventsourced.MetricsRecorderthat maps framework Metric values onto OTel instruments on the global MeterProvider. To be wired viapg.WithMetricsandeventsourced.WithMetricsacross all services.Reviewed by Go Backend Expert; applied second-scale histogram buckets, consistent metric naming, dropped redundant counters, added a manual-reader contract test.
Coverage Report
Total coverage: 23%