-
Notifications
You must be signed in to change notification settings - Fork 887
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
Allow registering exporters without exposing BatchSpanProcessor as a type #1331
Comments
It seems like it would remove functionality for the user if there is no way to create a BatchSpanProcessor without directly attaching it to a TracerProvider (that would be the part before the
|
There's also the weird case where a user registers two BSP, with different tagging decorators. Since it's the same span though such tagging can't happen independently. So decorating to tag doesn't quite feel right and possibly should be forbidden if possible. Filtering indeed we lose out but I wonder if it implies calling |
This is a Java-specific issue, the spec just says that the span passed to OnStart/OnEnd must be readable.
Indeed. The sampler should even have all the initial attributes available.
Tail-based sampling, i.e. filtering at OnEnd maybe? To be honest, these introductory paragraphs in the spec for the SpanProcessor are quite confusing and feel rather vague to me. |
Ah - I guess in Java doing the tail sampling would be quite unfortunate having to call Guess this could be simpler if it was
+1 |
talked about this at the spec sig mtg today, marking as required for ga because need to verify if this is desirable to move on and if so, need to do this before ga release. |
We should move very quickly if we are going to remove this. It sounds like there are two separate questions:
|
Also in java for example we have an alternative batch implementation that depends on |
Talked through some ideas to make configuration simpler, for example replacing |
from the spec sig mtg today, discussed this and moving this to after ga |
What are you trying to achieve?
Simplify user experience for registering exporters
Additional context.
Is is allowed to expose batching as an option when registering an exporter?
The required span processors of the spec are there, but not exposed as types. It allows simple task of registering an exporter not require knowing the concept of span processors which seems like a nice UX.
open-telemetry/opentelemetry-java#2398
The text was updated successfully, but these errors were encountered: