Skip to content

Commit 1f4b2f6

Browse files
committed
fix: remove duplicate spans in tracing and update go-sdk to 4fad402095228c
- Remove manual consumer span creation in metadata subscribe.go (use automatic otelsarama span) - Remove manual producer span creation in link add.go (use automatic instrumentation span) - Update all go-sdk modules to commit 4fad402095228c - This fixes metadata spans not appearing in trace history and duplicate link.link.created.v1 spans
1 parent 9eed7e8 commit 1f4b2f6

File tree

11 files changed

+204
-213
lines changed

11 files changed

+204
-213
lines changed

boundaries/api/api-gateway/go.mod

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ require (
1010
github.com/graph-gophers/graphql-go v1.8.0
1111
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3
1212
github.com/segmentio/encoding v0.5.3
13-
github.com/shortlink-org/go-sdk/auth v0.0.0-20251125204117-ffa44b328293
14-
github.com/shortlink-org/go-sdk/config v0.0.0-20251125204117-ffa44b328293
15-
github.com/shortlink-org/go-sdk/db v0.0.0-20251125204117-ffa44b328293
16-
github.com/shortlink-org/go-sdk/graceful_shutdown v0.0.0-20251125204117-ffa44b328293
17-
github.com/shortlink-org/go-sdk/grpc v0.0.0-20251125204117-ffa44b328293
18-
github.com/shortlink-org/go-sdk/http v0.0.0-20251125204117-ffa44b328293
19-
github.com/shortlink-org/go-sdk/logger v0.0.0-20251125204117-ffa44b328293
20-
github.com/shortlink-org/go-sdk/notify v0.0.0-20251125204117-ffa44b328293
21-
github.com/shortlink-org/go-sdk/observability v0.0.0-20251125204117-ffa44b328293
13+
github.com/shortlink-org/go-sdk/auth v0.0.0-20251129215632-4fad40209522
14+
github.com/shortlink-org/go-sdk/config v0.0.0-20251129215632-4fad40209522
15+
github.com/shortlink-org/go-sdk/db v0.0.0-20251129215632-4fad40209522
16+
github.com/shortlink-org/go-sdk/graceful_shutdown v0.0.0-20251129215632-4fad40209522
17+
github.com/shortlink-org/go-sdk/grpc v0.0.0-20251129215632-4fad40209522
18+
github.com/shortlink-org/go-sdk/http v0.0.0-20251129215632-4fad40209522
19+
github.com/shortlink-org/go-sdk/logger v0.0.0-20251129215632-4fad40209522
20+
github.com/shortlink-org/go-sdk/notify v0.0.0-20251129215632-4fad40209522
21+
github.com/shortlink-org/go-sdk/observability v0.0.0-20251129215632-4fad40209522
2222
github.com/spf13/viper v1.21.0
2323
github.com/uptrace/opentelemetry-go-extra/otelgraphql v0.3.2
2424
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0
@@ -80,7 +80,7 @@ require (
8080
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
8181
github.com/neo4j/neo4j-go-driver/v5 v5.28.4 // indirect
8282
github.com/onsi/gomega v1.38.0 // indirect
83-
github.com/ory/client-go v1.22.11 // indirect
83+
github.com/ory/client-go v1.22.12 // indirect
8484
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
8585
github.com/pkg/errors v0.9.1 // indirect
8686
github.com/planetscale/vtprotobuf v0.6.1-0.20241121165744-79df5c4772f2 // indirect
@@ -95,7 +95,7 @@ require (
9595
github.com/sagikazarmark/locafero v0.12.0 // indirect
9696
github.com/samber/lo v1.52.0 // indirect
9797
github.com/segmentio/asm v1.2.0 // indirect
98-
github.com/shortlink-org/go-sdk/flight_trace v0.0.0-20251125204117-ffa44b328293 // indirect
98+
github.com/shortlink-org/go-sdk/flight_trace v0.0.0-20251129215632-4fad40209522 // indirect
9999
github.com/spf13/afero v1.15.0 // indirect
100100
github.com/spf13/cast v1.10.0 // indirect
101101
github.com/spf13/pflag v1.0.10 // indirect

boundaries/api/api-gateway/go.sum

Lines changed: 30 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

boundaries/bff/go.mod

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ require (
1111
github.com/google/wire v0.7.0
1212
github.com/oapi-codegen/runtime v1.1.2
1313
github.com/segmentio/encoding v0.5.3
14-
github.com/shortlink-org/go-sdk/auth v0.0.0-20251125204117-ffa44b328293
15-
github.com/shortlink-org/go-sdk/cache v0.0.0-20251125204117-ffa44b328293
16-
github.com/shortlink-org/go-sdk/config v0.0.0-20251125204117-ffa44b328293
17-
github.com/shortlink-org/go-sdk/context v0.0.0-20251125204117-ffa44b328293
18-
github.com/shortlink-org/go-sdk/flags v0.0.0-20251125204117-ffa44b328293
19-
github.com/shortlink-org/go-sdk/flight_trace v0.0.0-20251125204117-ffa44b328293
20-
github.com/shortlink-org/go-sdk/graceful_shutdown v0.0.0-20251125204117-ffa44b328293
21-
github.com/shortlink-org/go-sdk/grpc v0.0.0-20251125204117-ffa44b328293
22-
github.com/shortlink-org/go-sdk/http v0.0.0-20251125204117-ffa44b328293
23-
github.com/shortlink-org/go-sdk/logger v0.0.0-20251125204117-ffa44b328293
24-
github.com/shortlink-org/go-sdk/observability v0.0.0-20251125204117-ffa44b328293
14+
github.com/shortlink-org/go-sdk/auth v0.0.0-20251129215632-4fad40209522
15+
github.com/shortlink-org/go-sdk/cache v0.0.0-20251129215632-4fad40209522
16+
github.com/shortlink-org/go-sdk/config v0.0.0-20251129215632-4fad40209522
17+
github.com/shortlink-org/go-sdk/context v0.0.0-20251129215632-4fad40209522
18+
github.com/shortlink-org/go-sdk/flags v0.0.0-20251129215632-4fad40209522
19+
github.com/shortlink-org/go-sdk/flight_trace v0.0.0-20251129215632-4fad40209522
20+
github.com/shortlink-org/go-sdk/graceful_shutdown v0.0.0-20251129215632-4fad40209522
21+
github.com/shortlink-org/go-sdk/grpc v0.0.0-20251129215632-4fad40209522
22+
github.com/shortlink-org/go-sdk/http v0.0.0-20251129215632-4fad40209522
23+
github.com/shortlink-org/go-sdk/logger v0.0.0-20251129215632-4fad40209522
24+
github.com/shortlink-org/go-sdk/observability v0.0.0-20251129215632-4fad40209522
2525
github.com/spf13/viper v1.21.0
2626
github.com/stretchr/testify v1.11.1
2727
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0
@@ -91,7 +91,7 @@ require (
9191
github.com/neo4j/neo4j-go-driver/v5 v5.28.4 // indirect
9292
github.com/onsi/ginkgo/v2 v2.23.4 // indirect
9393
github.com/onsi/gomega v1.38.0 // indirect
94-
github.com/ory/client-go v1.22.11 // indirect
94+
github.com/ory/client-go v1.22.12 // indirect
9595
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
9696
github.com/pkg/errors v0.9.1 // indirect
9797
github.com/planetscale/vtprotobuf v0.6.1-0.20241121165744-79df5c4772f2 // indirect
@@ -108,7 +108,7 @@ require (
108108
github.com/sagikazarmark/locafero v0.12.0 // indirect
109109
github.com/samber/lo v1.52.0 // indirect
110110
github.com/segmentio/asm v1.2.0 // indirect
111-
github.com/shortlink-org/go-sdk/db v0.0.0-20251125204117-ffa44b328293 // indirect
111+
github.com/shortlink-org/go-sdk/db v0.0.0-20251129215632-4fad40209522 // indirect
112112
github.com/spf13/afero v1.15.0 // indirect
113113
github.com/spf13/cast v1.10.0 // indirect
114114
github.com/spf13/cobra v1.10.1 // indirect

0 commit comments

Comments
 (0)