Repolode
flask-dashboard

flask-dashboard/Flask-MonitoringDashboard

A Flask extension that automatically monitors endpoint performance, request profiling, outliers and exceptions via a built-in dashboard.

Stars
827
Forks
167
Open issues
78
Last commit
last month

What is it?

Flask Monitoring Dashboard is an extension that adds a monitoring dashboard to an existing Flask application. Once bound to the app, it records how often each endpoint is called and how long requests take, and shows how that performance changes across git versions of the application.

Each request's execution path is stored in the database, so developers can see which functions consume the most time within an endpoint. Outlier requests that take much longer than usual are detected automatically, and their stack trace, request values, headers and environment are saved. Unhandled exceptions are logged with full stack traces, and handled ones can be captured manually. Alerting can be configured to notify one or more channels when exceptions occur.

The dashboard is served at /dashboard by default, and the route can be changed. Custom metrics such as database counts can also be recorded at daily or other intervals.

Key features

  • 01Tracks request counts and response times per endpoint across app versions.
  • 02Stores the execution path of each request to show time spent in functions.
  • 03Automatically detects and records outlier requests with stack traces and request details.
  • 04Logs unhandled exceptions and supports manual capture of handled ones.
  • 05Lets you record custom metrics at configurable time intervals.

Use cases

  • Finding slow endpoints and the functions responsible in a production Flask service.
  • Tracking how endpoint performance changes between releases.
  • Getting alerted to exceptions in a running Flask application.

Quick start

  1. 1

    Install the package from PyPI with pip

    pip install flask_monitoringdashboard
  2. 2

    Add the extension to your Flask app and bind it after all endpoints are defined

  3. 3

    Run your app and open the dashboard at /dashboard

    python app.py

Things to know

  • Development setup relies on a shell install script from the README.

In collections

Topics

FAQ

What is Flask-MonitoringDashboard?
A Flask extension that automatically monitors endpoint performance, request profiling, outliers and exceptions via a built-in dashboard. Flask Monitoring Dashboard is an extension that adds a monitoring dashboard to an existing Flask application. Once bound to the app, it records how often each endpoint is called and how long requests take, and shows how that performance changes across git versions of the application.
Is Flask-MonitoringDashboard free to use? What license does it have?
Flask-MonitoringDashboard is open source under the MIT license. Check the license terms before using it in commercial products.
Is Flask-MonitoringDashboard still maintained?
Updated within 6 months. The last commit to Flask-MonitoringDashboard was on Sep 28, 2026.
What can I use Flask-MonitoringDashboard for?
Finding slow endpoints and the functions responsible in a production Flask service. Tracking how endpoint performance changes between releases. Getting alerted to exceptions in a running Flask application.
How do I install Flask-MonitoringDashboard?
Install the package from PyPI with pip: pip install flask_monitoringdashboard Add the extension to your Flask app and bind it after all endpoints are defined Run your app and open the dashboard at /dashboard: python app.py
Where can I get Flask-MonitoringDashboard?
The source code and installation instructions are on GitHub: https://github.com/flask-dashboard/Flask-MonitoringDashboard

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects