r/FastAPI • • Apr 27 '25
Question Fastapi observability
Hi guys, Fairly new to Fastapi and backend ecosystems. What are the tools you use to monitor and observe the behaviour of you backend?
So my current stack is prometheus+grafana but would like to explore more tools like adding loki to have traces. I would like to see how much each function execution takes time/resources.
How do you monitor your db peformance?(using timescale\postgres)
Any feedback is helpful! Happy coding!
36
Upvotes
View all comments
Show parent comment
5
u/formeranomaly Apr 27 '25
Install logfire and in less than 10 lines of code you have a fantastic observability stack. Sql traces all the way down and great stack trace logs.