-
Maybe look at https://github.com/jazzband/django-silk
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
django-debug-toolbar
A configurable set of panels that display various debug information about the current request/response.
https://github.com/jazzband/django-debug-toolbar is also pretty good, but down to personal preference which of the 2 you choose (I prefer silk).
-
If you are using PostgreSQL you can enable logging of slow queries and connect to the server with pghero (https://github.com/ankane/pghero) and check top queries by the number of requests and total usage time. Also, you can just enable logging of queries in Django, and on each request, you will have a list of queries on development, sometimes it's just a missing select_related of prefetch_related to increase performance, or you need to create a complex index.