We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b35c140 commit 28ea34eCopy full SHA for 28ea34e
ctxtrace.go
@@ -107,7 +107,7 @@ func extractMetadataToContext(ctx context.Context) context.Context {
107
108
if mdValue, ok := md[headerRequestID]; ok && len(mdValue) != 0 {
109
data.RequestID = mdValue[0]
110
- grpc_ctxtags.Extract(ctx).Set("requestid", mdValue[0])
+ grpc_ctxtags.Extract(ctx).Set("request_id", mdValue[0])
111
}
112
113
return context.WithValue(ctx, traceCtxMarker{}, data)
0 commit comments