https://signoz.io logo
#support
Title
# support
k

Kasim Ali

10/05/2022, 9:58 AM
I want to integrate SIgnoz with my Fastapi app but I could not do it, so can any one help me?
s

Srikanth Chekuri

10/05/2022, 2:39 PM
What did you try? Did you check this out https://signoz.io/blog/opentelemetry-fastapi/?
k

Kasim Ali

10/05/2022, 2:41 PM
Yes this sample app run. But for my boiler plate I can't run.
s

Srikanth Chekuri

10/05/2022, 2:48 PM
Is it not running or is not producing the telemetry data? Did you try troubleshooting https://signoz.io/docs/install/troubleshooting/?
k

Kasim Ali

10/05/2022, 2:57 PM
No I am not trying troubleshooting, I try and msg you.
I tried troubleshooting, and it show 2022-10-06T052222.567Z INFO troubleshoot/main.go:28 STARTING! 2022-10-06T052222.567Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint 2022-10-06T052222.569Z INFO troubleshoot/main.go:46 Successfully sent sample data to signoz ...
can we have call for this?
s

Srikanth Chekuri

10/06/2022, 9:03 AM
Troubleshooting on call without much info you side won’t help. Please share what steps you have done. You haven’t yey confirmed it
console
exporter shows the telemetry on stdout
k

Kasim Ali

10/06/2022, 9:48 AM
okay
Can we have call or huddle for this? Because I share my screen for batter understanding of problem.
s

Srikanth Chekuri

10/06/2022, 9:51 AM
Before that please try using the console exporter and share if it emit the telemetry to stdout.
k

Kasim Ali

10/06/2022, 10:06 AM
yes, it gives { "name": "getting username or emails", "context": { "trace_id": "0x11c48a08fcfc606bc84a76077d1977f9", "span_id": "0x8d8629252bb3d5ed", "trace_state": "[]" }, "kind": "SpanKind.INTERNAL", "parent_id": "0xfe4f40d33e9c06e9", "start_time": "2022-10-06T100457.105043Z", "end_time": "2022-10-06T100457.160102Z", "status": { "status_code": "UNSET" }, "attributes": { "contex": "SpanContext(trace_id=0x11c48a08fcfc606bc84a76077d1977f9, span_id=0x8d8629252bb3d5ed, trace_flags=0x01, trace_state=[], is_remote=False)" }, "events": [ { "name": "getting username or emails", "timestamp": "2022-10-06T100457.105085Z", "attributes": {} } ], "links": [], "resource": { "attributes": { "service.name": "auth_signoz_app" }, "schema_url": "" } } { "name": "Creating user", "context": { "trace_id": "0x11c48a08fcfc606bc84a76077d1977f9", "span_id": "0xfe4f40d33e9c06e9", "trace_state": "[]" }, "kind": "SpanKind.INTERNAL", "parent_id": null, "start_time": "2022-10-06T100457.104981Z", "end_time": "2022-10-06T100457.160551Z", "status": { "status_code": "ERROR", "description": "DuplicateEmailOrUsernameOrPhoneException: " }, "attributes": {}, "events": [ { "name": "exception", "timestamp": "2022-10-06T100457.160535Z", "attributes": { "exception.type": "DuplicateEmailOrUsernameOrPhoneException", "exception.message": "", "exception.stacktrace": "Traceback (most recent call last):\n File \"/home/web-h-056/.cache/pypoetry/virtualenvs/yt_stories-vvZydjbs-py3.10/lib/python3.10/site-packages/opentelemetry/trace/__init__.py\", line 575, in use_span\n yield span\n File \"/home/web-h-056/.cache/pypoetry/virtualenvs/yt_stories-vvZydjbs-py3.10/lib/python3.10/site-packages/opentelemetry/sdk/trace/__init__.py\", line 1033, in start_as_current_span\n yield span_context\n File \"/home/web-h-056/Kasimali/Opentelemetry/opentelemetry_signoz/auth-service-signoz/src/app/v1/user/service/user_command.py\", line 50, in create_user\n raise DuplicateEmailOrUsernameOrPhoneException\napp.v1.user.exception.user_exception.DuplicateEmailOrUsernameOrPhoneException\n", "exception.escaped": "False" } } ], "links": [], "resource": { "attributes": { "service.name": "auth_signoz_app" }, "schema_url": "" } }
s

Srikanth Chekuri

10/06/2022, 11:59 AM
Thanks, so this should show up in the SigNoz UI as well? Are you not seeing this service?
k

Kasim Ali

10/06/2022, 12:41 PM
no this is not showing in signoz UI
s

Srikanth Chekuri

10/06/2022, 12:45 PM
The service
auth_signoz_app
is not showing up in UI?
k

Kasim Ali

10/06/2022, 12:46 PM
yes it is not showing
s

Srikanth Chekuri

10/06/2022, 12:49 PM
huddle now?
What is the exporter you are using to send the data to SigNoz?
k

Kasim Ali

10/06/2022, 12:50 PM
yes
console exporter
exporter
s

Srikanth Chekuri

10/06/2022, 12:51 PM
No, the console won’t send data to SigNoz. Use OTLP exporter.
k

Kasim Ali

10/06/2022, 1:03 PM
huddle now?