Socket
Socket
Sign inDemoInstall

flask-debugtoolbar-flamegraph

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    flask-debugtoolbar-flamegraph

Flamegraphs for Flask Debug Toolbar


Maintainers
1

Readme

=============================== Flask Debugtoobar Flame Graph

Based on the awesome djdt-flamegraph project.

Get a flame graph of the current request.

.. image:: https://img.shields.io/pypi/v/flask-debugtoolbar-flamegraph.svg :target: https://pypi.python.org/pypi/flask-debugtoolbar-flamegraph

Screenshot

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

Features

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc