feat: update trquest_id trace_id
This commit is contained in:
@ -29,7 +29,7 @@ func GinCtxToContext(ctx *gin.Context) context.Context {
|
||||
requestData[fmt.Sprintf("%v", k)] = v
|
||||
}
|
||||
if nil != ctx.Request {
|
||||
requestData[consts.GinRequestURIField] = ctx.Request.RequestURI
|
||||
requestData[consts.GinRequestURIField] = ctx.Request.URL.Path
|
||||
requestData[consts.GinRequestMethodField] = ctx.Request.Method
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user