I am not getting data of apm in signoz, getting th...
# support
v
I am not getting data of apm in signoz, getting this error. [ERROR] [init.py:156- export()] opentelemetry.exporter.otlp.proto.http.trace_exporter: Failed to export batch code: 405, reason: <html> i open 4317 and 4318 port but still not allowed. can someone help into this
s
What was the failure reason? Is SigNoz reachable from the application?
v
Yes accesible.
can we connect on huddle, i show you my error
s
Did you try troubleshooting and confirm https://signoz.io/docs/install/troubleshooting/?
v
CMD OTEL_RESOURCE_ATTRIBUTES=service.name=automapper-signoz OTEL_EXPORTER_OTLP_ENDPOINT="http://frontend.pntrzz.com" /home/delhivery/.local/bin/opentelemetry-instrument --traces_exporter otlp_proto_http /usr/bin/supervisord
my signoz is running on frontent.pntrzz.com
i use above comand to send data
where instead of IP , i mention the hostname where my signoz is running.
is it corect? application is in the same cluster but in diff namesapce
s
The endpoint would be
<http://frontend.pntrzz.com:4318>
1. Please confirm it is accessible to application by running troubleshoot I shared above 2. If you are using HTTP exporter the port should be 4318
v
ok let me try
Error while downloading asset. Make sure there are assets attached in the release of the remote repository.
when i curl
s
I am not seeing any such error. Please give it another try.
v
from celery import signals # pylint: disable=no-name-in-module infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/celery/__init__.py", line 121, in <module> infra-ci-test-playground-test-75c7c9c487-rp5q5: def maybe_patch_concurrency(argv=sys.argv, infra-ci-test-playground-test-75c7c9c487-rp5q5: AttributeError: module 'sys' has no attribute 'argv' infra-ci-test-playground-test-75c7c9c487-rp5q5: Failed to auto initialize opentelemetry infra-ci-test-playground-test-75c7c9c487-rp5q5: Traceback (most recent call last): infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 122, in initialize infra-ci-test-playground-test-75c7c9c487-rp5q5: _load_instrumentors(distro) infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 88, in _load_instrumentors
some python error
s
No idea about that. Side note: You need minimum py3.7 https://github.com/open-telemetry/opentelemetry-python#requirements
v
requests.exceptions.InvalidSchema: No connection adapters were found for '172.0.123.214:4318/v1/traces'
raise InvalidSchema("No connection adapters were found for {!r}".format(url)
109 Views