Monitoring django postgres connections

I am using django-postgrespool as a backend to connect to my application. I want to find out if it works correctly or not. How to track current postgres connections from django to see if connections are being reused.

+4
source share
1 answer

You should try the django-debug toolbar. Among many other options, you can track database queries for each page and response time.

This is a screenshot from the plugin documentation: enter image description here

+1
source

Source: https://habr.com/ru/post/1499840/


All Articles