You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
ihave a old application, it trace by brave , now time i will use opentelemetry on new application.
But the traceId String size is tooLong about old application use package.
Steps to reproduce
I have a old application use brave, maven coordinate is: <dependency> <groupId>com.github.kristofa</groupId> <artifactId>brave-http</artifactId> <version>3.5.0</version> </dependency>
and i use opentelemetry maven coordinate is: <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-api</artifactId> <version>1.32.0</version> </dependency>
and it have "com.github.kristofa.brave.IdConversion#convertToLong" ,i use it convert String Type to Long Type.but it have a check param code if (id.length() == 0 || id.length() > 16) { throw new NumberFormatException( id + " should be a <=16 character lower-hex string with no prefix"); }
but opentelemetry package:io.opentelemtry.api.trace.TraceId set traceId String.length = 32
how can i do this time...
i have no idea ,pls help me
The text was updated successfully, but these errors were encountered:
Describe the bug:
ihave a old application, it trace by brave , now time i will use opentelemetry on new application.
But the traceId String size is tooLong about old application use package.
Steps to reproduce
I have a old application use brave, maven coordinate is:
<dependency> <groupId>com.github.kristofa</groupId> <artifactId>brave-http</artifactId> <version>3.5.0</version> </dependency>
and i use opentelemetry maven coordinate is:
<dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-api</artifactId> <version>1.32.0</version> </dependency>
and it have "com.github.kristofa.brave.IdConversion#convertToLong" ,i use it convert String Type to Long Type.but it have a check param code
if (id.length() == 0 || id.length() > 16) { throw new NumberFormatException( id + " should be a <=16 character lower-hex string with no prefix"); }
but opentelemetry package:io.opentelemtry.api.trace.TraceId set traceId String.length = 32
how can i do this time...
i have no idea ,pls help me
The text was updated successfully, but these errors were encountered: