django-mysql
django-mysql copied to clipboard
django-debug-toolbar panel?
https://github.com/django-debug-toolbar/django-debug-toolbar has an API for adding your own panels. A MySQL specific panel could show the status variable changes in processing a view, for example the Com_* counts.
I've looked at pt-visual-explain integration when showing the EXPLAIN of a query, but that would require modifying the explain panel in django-debug-toolbar core.
Other ideas to show:
- number of queries per pt-fingerprint as wrapped in #58
- number of
Handler_*statements, though that's quite low-level
Select_full_join and Select_range_check warnings too! as per #147
Eh, no energy for this now.