django-mysql icon indicating copy to clipboard operation
django-mysql copied to clipboard

django-debug-toolbar panel?

Open adamchainz opened this issue 10 years ago • 2 comments

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.

adamchainz avatar Mar 21 '15 17:03 adamchainz

Other ideas to show:

  • number of queries per pt-fingerprint as wrapped in #58
  • number of Handler_* statements, though that's quite low-level

adamchainz avatar Apr 05 '15 22:04 adamchainz

Select_full_join and Select_range_check warnings too! as per #147

adamchainz avatar Sep 11 '15 12:09 adamchainz

Eh, no energy for this now.

adamchainz avatar Aug 08 '23 05:08 adamchainz