forward request options in otel middleware (#112)

This commit is contained in:
Paul Wells
2025-11-13 01:04:52 -08:00
committed by GitHub
parent 0d6eb61a92
commit 78ccb8d169
+1 -1
View File
@@ -55,7 +55,7 @@ func ClientOptions(c Config) psrpc.ClientOption {
ctx = metadata.WithOutgoingMetadata(ctx, m)
span.AddEvent("Outbound message")
resp, err := next(ctx, req)
resp, err := next(ctx, req, opts...)
span.AddEvent("Inbound message")
setSpanError(span, err)