[ 
https://issues.apache.org/jira/browse/IMPALA-14332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051578#comment-18051578
 ] 

Jason Fehr commented on IMPALA-14332:
-------------------------------------

[~nikhilbhatia08] -- The code would need to strip the hyphens and use that 
value as the trace id.  It also needs to completely remove the trailing 
iteration count if it is present.

> Set OpenTelemetry TraceId to X-Request-Id Header Value
> ------------------------------------------------------
>
>                 Key: IMPALA-14332
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14332
>             Project: IMPALA
>          Issue Type: Improvement
>    Affects Versions: Impala 5.0.0
>            Reporter: Jason Fehr
>            Priority: Critical
>
> Currently the OpenTelemetry traces are created with a random trace id.  If 
> the "X-Request-Id" HTTP header is specified, set the trace id equal to the 
> value of this header.
> Note: Impala shell includes the iteration count along with the request id 
> guid.  For example: "x-request-id=18bb03c8-7de6-11f0-9112-8b736586fd91-8".  
> The iteration count will have to be removed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to