jazzband/django-silk

Detect manual sql queries

オープン

#80 opened on 2015/10/08

 (9 件のコメント) (14 件のリアクション) (0 人の担当者)Python (319 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (3,958 個のスター)
PR merge metrics
 (平均マージ 4h 49m) (30d で 1 merged PR)

説明

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.

コントリビューターガイド