<@U01NT95GV8B> <@U02SS3ZAMKQ> <@U01HWQ1RTC2> I cre...
# support
a
@Srikanth Chekuri @Prashant Shahi @Ankit Nayan I created another django application which use
FROM tensorflow/tensorflow:2.4.0
,this include python 3.6, when the application startup , I got this message
You are using Python 3.6. This version does not support timestamps with nanosecond precision and the OpenTelemetry SDK will use millisecond precision instead. Please refer to PEP 564 for more information. Please upgrade to Python 3.7 or newer to use nanosecond precision.
you can see there is GET has been sent but Signoz can't retrieve any information. is this python issue cause of telemetry data can' t be sent to signoz-otel-collector which cause of Signoz not showing the data correctly.
s
What is the worker class you are using with gunicorn? Worker classes like gevent, eventler are not supported by otel-py sdk. Are you using the otel operator to auto instrument? The operator doesn't support the grpc https://github.com/open-telemetry/opentelemetry-operator/blob/main/autoinstrumentation/python/requirements.txt#L2. All of these issues are more related to otel than signoz
You should use py>=37 since 36 is already past EOL.
a
because of compatible issue with boto3 lib, I used below , so what I should change ? last time I used below but 0.28b0, and change to 4318 port as you guided it is working @Srikanth Chekuri
Copy code
opentelemetry-distro==0.27b0
opentelemetry-instrumentation==0.27b0
opentelemetry-exporter-otlp==1.9.0
s
There are many things at play. What is the worker class you are using wit gunicorn?
a
work class is gevent @Srikanth Chekuri
s
It is not (probably will not be) supported by opentelemetry-python
You will run into issue with gevent, eventlet or any other class which modify the python std socket lib.
a
do we have those compatible doc can be referenced in order to avoid this issue ? and what your suggested use for work class ? gthread?eventlet?
s
I don't think it is mentioned anywhere in http://opentelemetry-python.readthedocs.io
a
I dont see that in above link
s
What do you not see?
a
I didnt' see any work class mentioned
Copy code
sync
eventlet
gevent 
tornado 
gthread
so you mean we just can use the python std work class ? sorry I did't get
s
There is no python std worker class. I think it works with sync or tornado.
a
OK I 'll check , thanks
I am really confused why otel-collector/opentelemetry-python not support gunicorn gevent? we didn't use grpc but just send http @Srikanth Chekuri any workround ?
s
You are mixing up lot of stuff. This is not an issue with collector and it has nothing to do with grpc. gevent is does some magical stuff by monkey patching and doesn't play well with context propagation so that is what the not-supported means.
a
got it. thanks