how i can send data in APM if my python applicati...
# support
v
how i can send data in APM if my python application is using python version below 3.7
p
https://opentelemetry.io/docs/instrumentation/python/ - We support opentelemetry libraries which supports 3.6+ @Vishal Goel
v
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
@Vishal Goel do you see this on instrumenting your python app? cc @Srikanth Chekuri might have more insights
v
yes, on my python app
@Srikanth Chekuri can you please check
s
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
in the url what should i give otelcollector.pntrzz.com:4318 or frontend.pntrzz.com:4318
s
It should be host where collector is running.
v
Yup, its working Thanks @Srikanth Chekuri