This message was deleted.
s
This message was deleted.
s
What is the environment which you are running the application?
d
i have just using flask app in ubuntu linux machine
s
Are you running the both signoz and app on same machine or different?
d
yes on same machin for now
s
Is this a sample app or you own?
d
our own app
s
Can you set
OTEL_TRACES_EXPORTER=console
and see if it outputs the traces to stdout?
d
can you just help me with full command
s
Just set the above env before running app
d
{ "name": "/", "context": { "trace_id": "0xf7d633ef3863eef0f837ba3cec7b4537", "span_id": "0x33d6e00de883aa1f", "trace_state": "[]" }, "kind": "SpanKind.SERVER", "parent_id": null, "start_time": "2022-05-25T125820.400694Z", "end_time": "2022-05-25T125820.401826Z", "status": { "status_code": "UNSET" }, "attributes": { "http.method": "GET", "http.server_name": "127.0.0.1", "http.scheme": "http", "net.host.port": 5000, "http.host": "localhost:5000", "http.target": "/", "net.peer.ip": "127.0.0.1", "http.user_agent": "curl/7.81.0", "net.peer.port": 53796, "http.flavor": "1.1", "http.route": "/", "http.status_code": 200 }, "events": [], "links": [], "resource": { "telemetry.sdk.language": "python", "telemetry.sdk.name": "opentelemetry", "telemetry.sdk.version": "1.12.0rc1", "service.name": "flaskApp", "telemetry.auto.version": "0.31b0" } }
s
You instrumentation is working. What are all the OTEL related env did you set?
d
didn't get ?
s
What are all OTEL_* did you set ?
d
pip install opentelemetry-distro pip install opentelemetry-exporter-otlp-proto-http
opentelemetry-bootstrap --action=install
run there 3 command only
s
Are you using http or grpc for the exporter? If you are using http set the
OTEL_EXPORTER_OTLP_ENDPOINT=<http://XXXXXXX:4318>
What's the requirements.txt or pip list/pip freeze output?