-
Notifications
You must be signed in to change notification settings - Fork 651
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
can't exporter jaeger gRPC #2694
Comments
Did you install |
It has been installed. |
Does the collector has encryption, you probably need to set insecure=True? Do you see any warning logs with message "Failed to export batch. Status code: xxx"? |
Without any hint. |
If you don't set it to True it assumes that encryption is enabled and uses secure_channel which might be causing the problem. |
How to set up insecure=True? |
looks like there is no way to do that with command line arg, Here is an example showing the usage https://opentelemetry-python.readthedocs.io/en/latest/exporter/jaeger/jaeger.html#id1. |
This is set through the code, I am through the autoinstrument, I do not quite understand how to set |
How do I turn on debug mode when using-- traces_exporter=jaeger_proto? Can you display the export log? In a way similar to OTEL_JAVAAGENT_DEBUG=true? |
There isn't really a debug mode in python auto instrumentation, we try to log the warning/error messages in an event of issues from the backends like jaeger/otlp/zipkin. If you are able to get the console exporter working then the trace pipeline is working fine but you have issue with setting up the jaeger exporter. I suspect it's the creds issue. |
Try submitting PR, review and have a look |
I was facing similar problem just a few hours ago, this thread help me understand that auto-instrumentation does work with grpc, only with http: open-telemetry/opentelemetry-operator#862 (comment) |
The statement that auto-instrumentation only works with http is not true. It works with both grpc and http. But the operator doesn't support for the reason they explained here. |
Added support for insecure env in #2696 . Please try setting it to true and try again. |
The following was installed before use
Export Jaeger using gRPC.
There are no errors.How do I Enable Debug?
Sample script:https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples/auto-instrumentation
The text was updated successfully, but these errors were encountered: