Skip to content

SpanId, TraceId, ParentSpanId lose leading zeros #449

@swetharepakula

Description

@swetharepakula

Hello,

When using the spring sleuth span library, we noticed that since the Ids are stored as a Long, we lose the leading zeros. In zipkin tracing since we expect a 64 bit Id, this can cause issues since the Id is randomly generated. Is there thoughts to add some toString, or toHexString which mandates the formatting of the Id?

Thanks,
@swetharepakula && @Nino-K
CF Routing Team

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions