jazzband/django-silk

Detect manual sql queries

Open

#80 geöffnet am 8. Okt. 2015

Auf GitHub ansehen
 (9 Kommentare) (14 Reaktionen) (0 zugewiesene Personen)Python (319 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (3.958 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4h 49m) (1 gemergte PR in 30 T)

Beschreibung

At the moment silk does its magic by hijacking execute_sql, but this doesn't catch RawQuerySet queries and certainly doesn't catch queries that use the bare cursor.execute, so these appear as time spent in python and the final sql doesn't get logged for nice introspection.

It may be tricky, but it would be nice if silk were able to catch these queries too, possibly by doing the hijacking at a lower level.

Contributor Guide