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
@@ -3,8 +3,8 @@ module gitea.unbound.se/shiny/otelsetup
go 1.26
require (
codeberg.org/eventsourced/eventsourced v1.24.0
github.com/99designs/gqlgen v0.17.95
gitlab.com/unboundsoftware/eventsourced/eventsourced v1.23.0
go.opentelemetry.io/otel v1.46.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.46.0