Udit Kansal
02/01/2025, 6:01 AMMonitor your Python application with full stack open source APM tool - SigNoz.
But I'm unable to see any traces or logs on Signoz. I have tried troubleshooting as well and it is also working as expected.
~/Documents/task3/sample-flask-app/signoz/deploy (main ✗) ./troubleshoot checkEndpoint --endpoint=localhost:4317
2025-02-01T11:28:35.483+0530 INFO workspace/main.go:28 STARTING!
2025-02-01T11:28:35.483+0530 INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint
2025-02-01T11:28:35.508+0530 INFO workspace/main.go:4
And followed this https://signoz.io/docs/instrumentation/opentelemetry-python/#troubleshooting-your-signoz-installation as well and I'm seeing traces data as well.
Sample trace data:
{
"name": "GET /static/<path:filename>",
"context": {
"trace_id": "0xd6b0c12ecc39769b067c69bcbc0bcecc",
"span_id": "0x265ed42654dd95e9",
"trace_state": "[]"
},
"kind": "SpanKind.SERVER",
"parent_id": null,
"start_time": "2025-02-01T06:00:15.816487Z",
"end_time": "2025-02-01T06:00:15.824719Z",
"status": {
"status_code": "UNSET"
},
"attributes": {
"http.method": "GET",
"http.server_name": "0.0.0.0",
"http.scheme": "http",
"net.host.name": "192.168.1.6:5002",
"http.host": "192.168.1.6:5002",
"net.host.port": 5002,
"http.target": "/static/assets/emoji.js",
"net.peer.ip": "192.168.1.6",
"net.peer.port": 53088,
"http.user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",
"http.flavor": "1.1",
"http.route": "/static/<path:filename>",
"http.status_code": 304
},
"events": [],
"links": [],
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.29.0",
"service.name": "python_app",
"telemetry.auto.version": "0.50b0"
},
"schema_url": ""
}
}
Can somebody help me with this?