https://signoz.io logo
#support
Title
# support
a

André Bassi

04/28/2023, 2:17 PM
Guys, I use some google libs, such as Pub/Sub, when I start this way:
Copy code
opentelemetry-instrument --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc python consumer.py
Gives this error:
Copy code
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?
s

Srikanth Chekuri

04/28/2023, 2:56 PM
This looks like bug because of the grpc instrumentation.
a

André Bassi

04/28/2023, 3:09 PM
any tips?
s

Srikanth Chekuri

04/28/2023, 3:11 PM
You can probably disable the grpc instrumentation or wait for the bug to be fixed. Or there is a chance of instrumentation working with older grpc lib version.
a

André Bassi

04/28/2023, 3:12 PM
I’m making use of google’s lib to consume google’s Pub/Sub queues. This is what consumer.py does
I’m going to try to go back to python 3.6 and consume the older libs, what’s your opinion on this?
s

Srikanth Chekuri

04/28/2023, 3:17 PM
I wouldn’t recommend that. The minimum supported version is 3.7. The auto instrumentation for the google pub sub is not really good. So I would suggest not to rely on
opentelemetry-instrument
for this.
a

André Bassi

04/28/2023, 3:19 PM
thank you for the tips
6 Views