-
Notifications
You must be signed in to change notification settings - Fork 897
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
Tracer must expose getter for sampler #125
Comments
I can't be certain from this description, but as issue 71 lays out, I suspect would not be needed if we removed |
@jmacd if API will be removed - there may not be a need for sampler. Right now the API is a bad place where scenario of reporting out-of-band spans using the same sampling algo is not possible. |
I can't understand this claim, because I still haven't see a formal argument why two APIs are required to support out-of-band reporting. |
@jmacd we discussed it a few times already. Initial agreement is formulated in Java API. And I'm saying it is not complete. Either sampler needs to be exposed or API needs to be changed. Thus the issue |
I think this depends on the issue (which unfortunately I cannot find anymore) about keeping SpanData vs offering APIs to allow start/end timestamps. |
I've been digging into the (1) support recording spans with alternate resources ("out of band") I was confused at why the topic of the Sampler had entered the discussion about SpanData, but now I think I see it. Is there a requirement here that lazy-span reporting interact directly with the Sampler? I.e., are we requiring (in the current spec) that a call to See also issue 164. I can't quite figure out why the Sampler is considered a user-facing API, vs. part of the SDK. |
SpanData API was removed. Closing the issue |
Sampler access is needed if you are using
recordSpanData
and still want to apply samplingThe text was updated successfully, but these errors were encountered: