I am trying to add logger for my python fastAPI ba...
# support
I am trying to add logger for my python fastAPI base services. I am able to see the exceptions and trace. But when I click on
Go to related logs
I am not getting any logs. All the logs in the logs tab seem to be internal signoz logs or click house logs. How can I make it such that all the server logs are pushed and shown in the signoz dashboard. All I have done is this
Copy code
pip install opentelemetry-distro
pip install opentelemetry-exporter-otlp
opentelemetry-bootstrap --action=install
export OTEL_RESOURCE_ATTRIBUTES=service.name=fastapiApp
export OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4317>"
opentelemetry-instrument uvicorn main:app --host localhost --port 5002
to true
still doesn't work. 2. How do I remove signoz logs. I only want my service logs.
Hi @Sahil, hope you are fine. Did you able to achieve this? I also want to do logging in my fastapi app with opentelemtry and signoz.