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
While testing out the testbed for the OT Shim (and its related in-memory Tracer), I realized that random generation of SpanId and TraceId is gone (it's part of the main API in OC).
Any reason to truly remove it, other than reducing the exposed API? That being said, I'd like to at least have access to something like SpanId.create(long).
The text was updated successfully, but these errors were encountered:
The random generation of the Trace/Span id will be in the SDK. Main reason is that for example to support Amazon X-Ray the TraceID needs to be a specific format for example, also that is an implementation detail.
I'm wondering if it would be helpful to expose the constructors, nevertheless - otherwise, user will most likely have to use UUID + string manipulation to pass a byte [] to SpanId/TraceId to create new ids ;)
Hey @bogdandrutu any opinion on this last comment? If you really think we don't need this, lets close this Issue (and perhaps discuss it in the future if/as needed)
While testing out the
testbed
for the OT Shim (and its related in-memoryTracer
), I realized that random generation ofSpanId
andTraceId
is gone (it's part of the main API in OC).Any reason to truly remove it, other than reducing the exposed API? That being said, I'd like to at least have access to something like
SpanId.create(long)
.The text was updated successfully, but these errors were encountered: