Thanks to some changes in debugtoolbar 4.0 by Michael Merickel, I was able 
to update and release our SqlAlchemy profiling tool

* via pip/pypi `pyramid_debugtoolbar_api_sqlalchemy`
* via github https://github.com/jvanasco/pyramid_debugtoolbar_api_sqlalchemy

This package relies on the existing SqlAlchemy Panel that ships with the 
debugtoolbar to do all the real work.

This package simply makes the existing panel's data downloadable into a 
`.csv` format - via a button or a machine-friendly/predictable URL.

Our use case:

We enable this panel during integrated testing, and download/archive all 
the csv files.
A separate process analyzes the CSVs for too many queries, slow queries or 
"slowing" queries (i.e. queries getting slower over time), and reports the 
routes that were used.
This lets us find issues before they are deployed (not using lazyloading, 
needing indexing, bad selects, etc)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/82e0f899-729e-484b-88cd-684f6f5d2160%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to