Skip to main content
https://raw.githubusercontent.com/23andMe/djdt-flamegraph/master/fireman.png

Get a flame graph of the current request, right in Django.

https://travis-ci.org/23andMe/djdt-flamegraph.svg?branch=master https://img.shields.io/pypi/v/djdt_flamegraph.svg

Screenshot

https://raw.githubusercontent.com/23andMe/djdt-flamegraph/master/flamegraph-screenshot.png

Features

Install

  • Add djdt_flamegraph to your requirements.txt.

  • Add djdt_flamegraph.FlamegraphPanel to DEBUG_TOOLBAR_PANELS.

  • Run your server with python manage.py runserver --nothreading --noreload

Notes

  • ValueError at /: signal only works in main thread: Flame graphs can only be generated in a single threaded server.

  • Flame graphs are disabled by default. You’ll have to enable it by clicking the checkbox next to it in the Debug Toolbar.

  • Probably won’t work on Windows.

Development

This panel comes with an example Django app to test with. Just run make example and the server should start running.

History

0.2.5 (2015-10-11)

  • First release that actually works!

0.2.0 (2015-10-10)

  • Beta release.

0.1.0 (2015-10-5)

  • First release on PyPI.

Metadata

Release files for djdt-flamegraph 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djdt-flamegraph 0.2.7
File Size Uploaded
djdt_flamegraph-0.2.7.tar.gz 14.8 kB Details

Release files / djdt_flamegraph-0.2.7.tar.gz

Download URL djdt_flamegraph-0.2.7.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
262c5fca886fb03bdacc42d979f10ca84767d34648cf37952247083f16c6222a
BLAKE2b-256 checksum
How to use checksums
3edc5c086788f385023911db9a004a0d1062afd906227f3f696a22ad1fbee0ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.13

2 release files

0.2.9

1 release file

0.2.8

1 release file

This release

0.2.7 This release

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page