qmetrics.net

Django Silk

Live profiling and request inspection for Django

Django Silk screenshot

Silk is a Django package that records HTTP requests, SQL queries, and optional Python profiles, then exposes them in a /silk/ web UI for debugging slow pages and queries.

Overview

Silk is a profiling and inspection tool for Django applications. Middleware intercepts requests and responses, stores timing and metadata, and wraps SQL execution to capture database activity for later review.

After installation and migrations, the UI is available at /silk/ on the same Django site. Request views show duration, query counts, headers, and optional bodies. SQL views summarize tables, joins, and execution time with stack traces.

Optional Python profiling uses cProfile when enabled, with downloadable .prof files and graph visualization when configured. Decorators and context managers profile arbitrary code blocks, and dynamic profiling can target functions at runtime via settings.

Silk can generate curl and Python snippets to replay requests, supports authentication for the UI, and offers settings to limit stored bodies, sample a fraction of traffic, ignore paths, and run garbage collection on old rows.

Key features

  • HTTP request and SQL capture
  • Web UI at /silk/
  • Optional cProfile per request
  • Code block profiling decorators
  • Dynamic profiling via settings
  • Replay snippets and auth for UI

Use cases

  • Finding slow Django views and queries
  • Profiling specific code paths in dev
  • Sharing reproducible request replays

Tags

Similar software

AgentOps

Open-source observability SDK for AI agents

AgentOps is a Python SDK that monitors AI agents, tracks LLM costs, and records sessions for debugging. It plugs into common agent frameworks and model providers.

  • Session replay analytics
  • LLM cost tracking
  • Framework integrations
PythonDetails →
★ 6k⟳ 5 months agoMIT

Clockwork

In-browser PHP application runtime inspector

Clockwork is a PHP development library that records request, command, queue, and test runtime details and exposes them in a browser UI. It captures queries, logs, events, jobs, views, and performance data.

  • HTTP request profiling data
  • Database and cache query logging
  • Redis command and event capture
PHPDetails →
★ 5.9k⟳ 3 months agoMIT

Micrometer

Vendor-neutral JVM application observability facade

Micrometer instruments JVM applications with dimensional metrics and tracing through a neutral API. You choose Prometheus, Datadog, OTLP, and many other backends at deploy time.

  • Vendor-neutral metrics API
  • Dimensional meters
  • Many backend registries
JavaDetails →
★ 4.9k⟳ todayApache-2.0

Log Viewer

Browser log viewer package for Laravel applications

Laravel package that adds a web UI to read, search, and filter application and server log files in the browser.

  • Laravel storage log browsing
  • Horizon, web server, and service logs
  • Search and level filtering
PHPWebDetails →
★ 4.4k⟳ 5 months agoMIT

KOOM

Android online memory monitoring for OOM and heap leaks

KOOM is Kwai's toolkit for high-performance online memory monitoring on mobile. It reports when out-of-memory-related problems occur and is available for Android apps.

  • Online OOM and memory issue reporting
  • Java heap leak monitoring module
  • Native heap leak monitoring
C++AndroidDetails →
★ 3.4k⟳ 1 month agoApache-2.0 · open core

line_profiler

Line-by-line profiler for Python functions

The lineprofiler package profiles decorated Python functions line by line; kernprof is its CLI helper, and setting LINEPROFILE=1 prints a timing summary when the script exits.

  • Per-line timing inside functions
  • @profile decorator workflow
  • LINEPROFILE environment toggle
PythonCLIDetails →
★ 3.3k⟳ 21 days agoBSD-3-Clause