-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource On SpanData + Specify SpanData format #69
Resource On SpanData + Specify SpanData format #69
Conversation
@songy23 @bogdandrutu I think I addressed your feedback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @SergeyKanzhelev I realize that this is a bit out-of-context, but I also see a bunch of specification about This, therefore, feels like an appropriate place to ask questions about the SpanData representation itself, since I'm not sure how much discussion has already passed by. When I look at the SpanData specified here, I see things being carried over from OC that could potentially be encoded in other already-existing fields of the SpanData. So for example, a I just wonder if it would be possible to keep the exporters smaller by reducing the number of Span fields. |
@jmacd if you have concerns with specific strongly-typed fields - please create a separate issue. For now this PR mostly describe what was agreed on and implemented in Java API. Next milestone is for receiving feedback (which I appreciate) and addressing it. |
@SergeyKanzhelev Sure, I'll file those issues. Still, I think we should be careful to title the PR description accurately. Someone who is happy with the Resources definition could be excused for not following this PR, but this PR is specifying what SpanData is. Would you consider updating the PR description to "Specify SpanData format". I was under the impression that SpanData was an output format for Exporters, not an optional input format (stated here: #68 (comment)). I would like to know more about the reasoning behind this, because it feels like a decision that is incompatible with OpenTracing. I was under the impression that OpenTelemetry would have a pure interface, which means that to construct a |
* Resource On SpanData * addressed PR feedback
* Resource On SpanData * addressed PR feedback
Based on open-telemetry/opentelemetry-java#352 discussion.
This also raise the question - if SpanData is immutable, Tracer will need to create a new
SpanData
with theTracer
'sResource
set before passing it to the exporter. Which requires a new allocation. Creating issue: #68