prasunsrivastav123-lang opened a new pull request, #12990:
URL: https://github.com/apache/apisix/pull/12990

   ### Description
   
   This PR fixes a crash in the OpenTelemetry plugin when trace_id_source is 
set to x-request-id and the request ID is not a valid 32-hex trace ID (for 
example, a UUID).
   The plugin now validates the header and gracefully falls back to the default 
trace ID generator instead of passing invalid values to the OpenTelemetry 
encoder.
   
   Fixes #<>
   Fixes #12976 
   
   ### Checklist
   
   - [ ] I have explained the need for this PR and the problem it solves
   - [ ] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [ ] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to