opentracing / opentracing-php

OpenTracing API for PHP
Apache License 2.0
505 stars 56 forks source link

left pad the original identifier with zeroes #125

Closed DanilAlekseevich closed 2 years ago

DanilAlekseevich commented 2 years ago

Hi! We use for trace id 32hex value(ex. 234a5bcd543ef3fa53ce929d0e0e4736) this package make 16hex value (ex. 53ce929d0e0e4736). How add zeros on left pad? For https://www.w3.org/TR/trace-context/#interoperating-with-existing-systems-which-use-shorter-identifiers