-
Notifications
You must be signed in to change notification settings - Fork 873
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 users to choose propagator #320
Comments
Do you know if propagators will have a standard SDK configuration, e.g. something similar to the BatchSpanProcessor configuration in open-telemetry/opentelemetry-java#1080? It's nice to follow standard SDK configuration where we can (maybe with our own prefix?). But either way, 👍 on supporting this use case. |
@carlosalberto I was looking for the |
I see it in the repo https://github.com/open-telemetry/opentelemetry-java/tree/master/contrib/trace_propagators, but looks like it's not in maven central yet. I think it will be in maven central by end of next week when SDK 0.4.0 is released, so we should be able to come back to this soon (I'm hesitant to depend on SDK snapshot versions). |
OK. I guess I'll pick another issue for now... :) |
@trask So I will resume my work after open-telemetry/opentelemetry-java#1161 is either merged or rejected - but meanwhile wanted to ask about the design overall, as I'm not really familiar with the auto-instrumentation codebase. So I'm simply exposing a few constants that match to pre-defined propagators ( If we keep the global |
Hey @carlosalberto, I think |
@trask One of the 'problems' is however the fact (Also, we don't have |
Oh yeah, as @jkwatson mentioned on gitter today, the |
Closed via #389 (We can iterate on further/updated support when more propagators are added in the API/contrib section) |
B3 and Jaeger propagators were recently added to OTel Java (living in the new
trace_propagators
artifact), and I would imagine being able to specify them when running the agent, e.g.-Dota.propagator=B3
.FWIW: Don't imagine users providing their own jar with their own custom propagator.
@trask Any opinion on this? ;)
The text was updated successfully, but these errors were encountered: