Correlating Uvicorn Logs with Traces in FastAPI application
TLDR fahad wants to correlate uvicorn logs with their traces for a FastAPI application but is having issues. vishal-signoz reprimanded him for duplicate posts.
Powered by Struct AI
1
3
1mo
Aug 29, 2023 (1 month ago)
fahad
fahad
09:15 AMHi,
I have a fastapi application and I am saving the uvicorn logs to a file and added the filelog receiver to
I have a fastapi application and I am saving the uvicorn logs to a file and added the filelog receiver to
otel-collector-config.yaml
using this guide https://signoz.io/docs/userguide/collect_logs_from_file/ . But my logs don't have trace_id and span_id. I want to correlate my logs with their traces. I am not sure how to do this. Your help will be appreciated.Aug 30, 2023 (1 month ago)
vishal-signoz
vishal-signoz
12:54 AMPlease don’t post duplicate posts in multiple channels.
https://signoz-community.slack.com/archives/C01HWUTP4HH/p1693300491258379
https://signoz-community.slack.com/archives/C01HWUTP4HH/p1693300491258379
fahad
fahad
06:28 AMapologies vishal-signoz
1
SigNoz Community
Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI
Indexed 826 threads (62% resolved)
Similar Threads
Issues with Logging and Trace Correlation in FastAPI Application
fahad has trouble correlating logs with traces in a FastAPI application. Srikanth gives resourceful guides and advises manual configuration handling.
5
1mo
Solved
Issue Connecting to Otel Collector via Docker Compose
Willy was struggling to connect to an otel collector from another docker-compose application. The issue was resolved after realizing the uvicorn process of FastAPI shouldn't start with the `--reload` option.
4
1w
Solved
Sending Python Logs using Otel SDK and Signoz
fahad asked for help in displaying logs within their fastapi application using Signoz. vishal-signoz suggested sending python logs using otel sdk.
3
1mo
Solved