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
Do you mean why use TraceID instead of TraceId? If that's the case, using ID instead of Id is a Go idiom.
The specification is a means for all libraries to behave in a similar way. But each of them should also respect the idioms of their language, not blindly follow the spec.
@dmathieu is correct regarding the capitalization difference. If your question is also about why SpanContextConfig does not have struct tags that would cause it to be marshaled using TraceId, that struct is not intended for communication, only for use with the SDK. The propagation package should be used to propagate trace context information.
opentelemetry-go/trace/trace.go
Lines 184 to 190 in 73edf3d
specification
The text was updated successfully, but these errors were encountered: