Flamegraphs for Flask Debug Toolbar
Project description
Based on the awesome [djdt-flamegraph](https://github.com/23andMe/djdt-flamegraph) project.
Get a flame graph of the current request.
Screenshot
Features
Uses https://github.com/brendangregg/FlameGraph to generate a flamegraph right in the debug panel.
Install
Add flask_debugtoolbar_flamegraph to your requirements.txt.
Add flask_debugtoolbar_flamegraph.FlamegraphPanel to DEBUG_TB_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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flask_debugtoolbar_flamegraph-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e9d93b995437bcf038b0da3e7810185b740a927e78abb19dd0ee1e78f37befc |
|
MD5 | 8724e28cf6781e54921974e250b372d0 |
|
BLAKE2b-256 | fa4ab02b5a554f8807b7bc6c0c8772b11ceaebb57892847ebd0a0c3f4178f713 |
Hashes for flask_debugtoolbar_flamegraph-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb1062e970b5f0119c781173bfcb7fad90d84747115e7a03ee4719b396d8535f |
|
MD5 | 8913e06fe4456c3521a12daae4bb0446 |
|
BLAKE2b-256 | 9fe075a2a1bc6c0ddb41daca309b5f1f9a49588ba490fb87a9a0b30eab475628 |