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

Vishal Goel

10/11/2022, 5:28 AM
how i can send data in APM if my python application is using python version below 3.7
p

Pranay

10/11/2022, 5:31 AM
https://opentelemetry.io/docs/instrumentation/python/ - We support opentelemetry libraries which supports 3.6+ @Vishal Goel
v

Vishal Goel

10/11/2022, 5:36 AM
Thanks @Pranay
one more issue i am getting, if you can help me "raise InvalidSchema("No connection adapters were found for {!r}".format(url))"
its says invalidschema
requests.exceptions.InvalidSchema: No connection adapters were found for '172.0.123.214:4318/v1/traces'
@Pranay
p

Pranay

10/11/2022, 5:47 AM
@Vishal Goel do you see this on instrumenting your python app? cc @Srikanth Chekuri might have more insights
v

Vishal Goel

10/11/2022, 5:49 AM
yes, on my python app
@Srikanth Chekuri can you please check
s

Srikanth Chekuri

10/11/2022, 6:23 AM
how i can send data in APM if my python application is using python version below 3.7
3.6 is no longer supported. The docs are outdated.
“raise InvalidSchema(“No connection adapters were found for {!r}“.format(url))”
You need to set the URL correctly. Please add
http://
in endpoint env.
It will be
OTEL_EXPORTER_OTLP_ENDPOINT=<http://host>:port
and port should be 4318 for HTTP exporter.
v

Vishal Goel

10/11/2022, 7:05 AM
in the url what should i give otelcollector.pntrzz.com:4318 or frontend.pntrzz.com:4318
s

Srikanth Chekuri

10/11/2022, 7:07 AM
It should be host where collector is running.
v

Vishal Goel

10/11/2022, 7:46 AM
Yup, its working Thanks @Srikanth Chekuri
5 Views