fix(api): add tracing interceptor on connectRPC services (#11147)

# Which Problems Are Solved

ConnectRPC based services (v2 API) was missing the root span of all
requests. Rest calls through grpc-gateway more or less worked properly.
This was due to a missing server interceptor for connectRPC services
itself. Rest call would work as the trace would start on the gateway
already.

# How the Problems Are Solved

Initiate an connectRPC OTEL interceptor and pass it to all services.

# Additional Changes

None

# Additional Context

- noticed internally
- requires backport to v4.x
This commit is contained in:
Livio Spring
2025-12-09 11:23:10 +01:00
committed by GitHub
parent df75be96ff
commit 5f3f53dca1
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ require (
cloud.google.com/go/storage v1.57.1
connectrpc.com/connect v1.19.1
connectrpc.com/grpcreflect v1.3.0
connectrpc.com/otelconnect v0.8.0
dario.cat/mergo v1.0.2
github.com/BurntSushi/toml v1.5.0
github.com/DATA-DOG/go-sqlmock v1.5.2