Issues with OpenTelemetry-Instrument and GRPC in Python
TLDR Andre faced an error with OpenTelemetry-Instrument affecting their Python code. Srikanth advised against downgrading but suggested not relying on opentelemetry-instrument
.
1
Apr 28, 2023 (7 months ago)
Andre
02:17 PMI use some google libs, such as Pub/Sub, when I start this way:
opentelemetry-instrument --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc python consumer.py
Gives this error:
Thread-ConsumeBidirectionalStream caught unexpected exception 'generator' object has no attribute 'add_done_callback' and will exit.
Traceback (most recent call last):
And with that my python instructions don’t work, has anyone faced this error?
Andre
02:20 PMhttps://github.com/open-telemetry/opentelemetry-python-contrib/issues/1180
Srikanth
02:56 PMAndre
03:09 PMSrikanth
03:11 PMAndre
03:12 PMAndre
03:15 PMSrikanth
03:17 PMopentelemetry-instrument
for this.1
Andre
03:19 PMSigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Troubleshooting OpenTelemetry Python App Instrumentation in Signoz
Musa had issues with Python app instrumentation in Signoz. After some troubleshooting with Srikanth, they managed to resolve the problem by defining the OTLP endpoint and service name.
Transitioning to Signoz from Apache Skywalker in Python Application
Akhil inquired about switching from Apache Skywalker to Signoz with current dependency conflicts. vishal-signoz and Srikanth provided solutions and Akhil successfully implemented the change, overcoming the initial dependency errors.
Issue with SigNoz and OpenTelemetry Instrumentation in NodeJS App
Anshul experienced errors while configuring SigNoz with OpenTelemetry for a NodeJS app. Srikanth suggested using different docs for lambda.
Instrumentation Error with NestJS and Opentelemetry Troubleshooting
Aniket faced an issue with nestjs instrumentation and Opentelemetry. vishal-signoz suggested downgrading `@opentelemetry/exporter-trace-otlp-http` to `0.43.0`, which resolved the issue.
Error Installing SigNoz on NodeJS App on Graviton Server
abhinav faced errors installing SigNoz on a NodeJS app. vishal-signoz suggested following a workaround on an opentelemetry issue, which resolved the problem.