django-debug-toolbar icon indicating copy to clipboard operation
django-debug-toolbar copied to clipboard

Audit panels instrumentation for production usage

Open tim-schilling opened this issue 3 months ago • 1 comments

We should audit each panel for how early they start instrumenting their areas and determine if the toolbar can reliably be installed in a production environment, but disabled via SHOW_TOOLBAR_CALLBACK. This is in reference to #1375.

We would want know the following for each of the panels:

  • Does the panel set up its instrumentation on project start or on enable_panel?
  • Can the instrumentation be disabled entirely?
  • Does the instrumentation monkeypatch something?

To conclude this effort, we should document the findings on a new documentation page for production use. If this means we provide a configuration setting that has the non-production friendly panels excluded, that would be great.

tim-schilling avatar Sep 19 '25 18:09 tim-schilling

I would like to review the code and document the findings for each panel.

jmgutu avatar Oct 17 '25 18:10 jmgutu