feat!: use eventsourced from Codeberg
otelsetup / test (push) Skipped
otelsetup / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
otelsetup / vulnerabilities (pull_request) Successful in 51s
otelsetup / test (pull_request) Successful in 1m9s
pre-commit / pre-commit (pull_request) Successful in 4m5s

eventsourced moved from gitlab.com/unboundsoftware to codeberg.org/eventsourced. NewEventsourcedMetrics now returns codeberg.org/eventsourced/eventsourced.MetricsRecorder (v1.24.0; same API, new module path).

BREAKING CHANGE: services must use codeberg.org/eventsourced/* to pass the recorder to pg.WithMetrics / eventsourced.WithMetrics. Services still on the GitLab modules stay on otelsetup v0.4.x until they migrate (see docs/design/codeberg-migration.md).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SV1epy2pKvBx3yDfhxATk2
This commit is contained in:
argoyleandClaude Opus 5 committed 2026-09-11 22:45:25 +02:00
1 parent d1e99a1f1f
commit ca52c55779
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing"
"time"
"gitlab.com/unboundsoftware/eventsourced/eventsourced"
"codeberg.org/eventsourced/eventsourced"
"go.opentelemetry.io/otel"
sdkmetric "go.opentelemetry.io/otel/sdk/metric"
"go.opentelemetry.io/otel/sdk/metric/metricdata"