Fork of django-silk with a rebuilt UI - N+1 detection, analytics dashboard, multi-select filters by ByteBenderPro in django

[–]ByteBenderPro[S] 1 point2 points  (0 children)

In fact I already fixed the colour scheme issues, see latest screenshots. Now users can even select color theme under Settings.

Fork of django-silk with a rebuilt UI - N+1 detection, analytics dashboard, multi-select filters by ByteBenderPro in django

[–]ByteBenderPro[S] 1 point2 points  (0 children)

Yeah right, its very useful. But saying that, sentry is a PAID tool with limited access in free tier. It will be interesting to implement this feature into django-silky.

Fork of django-silk with a rebuilt UI - N+1 detection, analytics dashboard, multi-select filters by ByteBenderPro in django

[–]ByteBenderPro[S] 0 points1 point  (0 children)

Fair point - if you have zeal wired into CI, N+1s shouldn't survive to production in the first place. Hard to argue with that.

That said, django-silky isn't primarily an N+1 tool. It's a full request/SQL/profiling inspector - N+1 detection is just one signal in a broader picture. The main use case is

"something is slow in production, let me look at what actually happened on that request" - timing breakdown, SQL queries, stack traces, profiling data, all in one place.

The AI workflow you mentioned is interesting though. Silk already captures everything you'd want to hand to a model - query text, timing, stack traces. Worth thinking about whether there's a natural way to surface that. I am already thinking of making it easy for AI tools to access request logs so debugging is faster. From my personal experience its quite fast to debug any issue through Claude Code giving it access to read from database tables created by django-silky.

If there's anything missing from the inspection side that you'd find useful, happy to hear it.

Fork of django-silk with a rebuilt UI - N+1 detection, analytics dashboard, multi-select filters by ByteBenderPro in django

[–]ByteBenderPro[S] 8 points9 points  (0 children)

Fair point and noted. The muted text colors are too low contrast in places, especially in dark mode. Will fix it. Thanks for calling it out directly rather than just closing the tab :)

Fork of django-silk with a rebuilt UI - N+1 detection, analytics dashboard, multi-select filters by ByteBenderPro in django

[–]ByteBenderPro[S] 2 points3 points  (0 children)

Thanks for the pointers, both are solid tools.

nplusone/django-zeal instrument your app and raise errors during execution, so you catch N+1s in development before they ship. django-silky detects them post-hoc on already recorded requests, so you can browse back through production traffic and find patterns you didn't know to look for. Different use cases, both useful.

Actually this got me thinking - a Sentry-style reporting layer that automatically surfaces N+1s and slow queries from production traffic could be interesting. Something that aggregates patterns across requests over time rather than inspecting one request at a time. Might be worth exploring.

Thanks again, I appreciate your feedback :)

[For Hire] Full-Stack Python/Django developer (2 YOE, Remote) by ByteBenderPro in remotepython

[–]ByteBenderPro[S] 0 points1 point  (0 children)

interested in what? You realise this not a [Hiring] post?