Hello, I think it's very stupid but I block on the...
# support
b
Hello, I think it's very stupid but I block on the exporter. In my application is move from grpc to http in https://github.com/SigNoz/sample-django/blob/main/gunicorn.config.py#L2 And move from 4317 to 4318, but no more traces. I've try with and without
/
but library handle it for trace https://github.com/open-telemetry/opentelemetry-python/blob/v1.11.1/exporter/opent[…]entelemetry/exporter/otlp/proto/http/trace_exporter/__init__.py Any clue
1
Exporter is available
Copy code
pip3 list | grep open
opentelemetry-api                        1.11.1
opentelemetry-distro                     0.30b1
opentelemetry-exporter-otlp              1.11.1
opentelemetry-exporter-otlp-proto-grpc   1.11.1
opentelemetry-exporter-otlp-proto-http   1.11.1
s
you don't have the
opentelemetry-sdk
?
1
b
Okay nvm, I need to put
v1/traces
Since endpoint is send, concat does not appen
you don't have the
opentelemetry-sdk
?
Yes
In the example endpoint is not necessary I was read the code but not enough (not saying example is wrong 🙂 ) Indeed in https://github.com/open-telemetry/opentelemetry-python/blob/v1.11.1/exporter/opent[…]entelemetry/exporter/otlp/proto/http/trace_exporter/__init__.py sdk read the same variable. I don't know if I missing something @Srikanth Chekuri
s
not sure I understood you correctly but here is the tribal knowledge for http exporter based on otel spec. You only need to set the scheme and port in the env
OTEL_EXPORTER_OTLP_ENDPOINT
. And it's the exporter responsibility to add the resource path. Are you still blocked?
👍 1
b
no
sorry for the noise
s
no worries, just want to understand where were you facing the difficulties.