-
Notifications
You must be signed in to change notification settings - Fork 880
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
Add jaeger remote sampler #4898
Comments
You don't really need to build a custom javaagent, you can use the sampler as an extension. |
👍 it would still be nice to add this to the javaagent distribution since there's already spec support for @pavolloffay is this the same as #1953? |
I have started looking at this. @anuraaga is my understanding correct that the Jaeger remote sampler will require some work to make this work in the auto-instrumentation? The root cause is open-telemetry/opentelemetry-specification#1996? Or could we use one of I am getting the following error.
|
oh ya, this is because we don't use grpc or protobuf dependencies anymore. all the standard otel exporters (including the jaeger exporter) now hand marshal the protobuf data and send it directly using okhttp. check out for example open-telemetry/opentelemetry-java#3800. not including grpc/netty/protobuf dependencies saved us a few MB in the javaagent jar, so I don't think we would want to bring those dependencies back just to support jaeger remote sampler. probably will need to update the jaeger remote sampler to use similar "grpc lite" mechanism first |
thanks Trask, I will take a look at it in the otel-java repo. |
Is your feature request related to a problem? Please describe.
I want to use Jaeger remote sampler https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/jaeger-remote-sampler with Javaagent
Describe the solution you'd like
Make https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/jaeger-remote-sampler available in the javaagent distribution.
Describe alternatives you've considered
Build a custom javaagent.
Additional context
Jaeger remote sampler in the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md
The text was updated successfully, but these errors were encountered: