https://github.com/flask-dashboard/Flask-MonitoringDashboard
Automatically monitor the evolving performance of Flask/Python web services.
https://github.com/flask-dashboard/Flask-MonitoringDashboard
dashboard flask flask-extension flask-monitoring-dashboard monitoring profiler python
Last synced: about 1 month ago
JSON representation
Automatically monitor the evolving performance of Flask/Python web services.
- Host: GitHub
- URL: https://github.com/flask-dashboard/Flask-MonitoringDashboard
- Owner: flask-dashboard
- License: mit
- Created: 2017-04-11T13:50:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T17:45:00.000Z (about 1 month ago)
- Last Synced: 2025-03-10T18:46:37.558Z (about 1 month ago)
- Topics: dashboard, flask, flask-extension, flask-monitoring-dashboard, monitoring, profiler, python
- Language: Python
- Homepage: http://flask-monitoringdashboard.readthedocs.io/
- Size: 15.1 MB
- Stars: 786
- Watchers: 17
- Forks: 161
- Open Issues: 62
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-flask - Flask-MonitoringDashboard - Automatically monitor the evolving performance of Flask/Python web services. (Development (Debugging/Testing/Documentation))
- awesome-flask - Flask-MonitoringDashboard - Automatically monitor the evolving performance of Flask/Python web services. (Development (Debugging/Testing/Documentation))
- jimsghstars - flask-dashboard/Flask-MonitoringDashboard - Automatically monitor the evolving performance of Flask/Python web services. (CSS)
- awesome-flask - Flask-MonitoringDashboard - Automatically monitor the evolving performance of Flask/Python web services. (Development (Debugging/Testing/Documentation))
- best-of-web-python - GitHub - 28% open · ⏱️ 26.04.2024): (Monitoring)
README
![]()
Flask Monitoring Dashboard
A dashboard for automatic monitoring of Flask web-services.
[](https://github.com/flask-dashboard/Flask-MonitoringDashboard/actions/workflows/python-test.yml)
[](http://flask-monitoringdashboard.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/flask-dashboard/Flask-MonitoringDashboard)
[](https://badge.fury.io/py/Flask-MonitoringDashboard)
[](https://img.shields.io/pypi/pyversions/flask_monitoringdashboard.svg)
[](http://pepy.tech/count/flask-monitoringdashboard)
[](https://twitter.com/intent/tweet?text=Monitor%20your%20Flask%20application%20with%20the%20Flask%20Monitoring%20Dashboard&url=https://github.com/flask-dashboard/Flask-MonitoringDashboard&hashtags=fmd,flask,python)
Key Features •
How to use •
Live Demo •
Feedback •
Documentation •
Screenshots •
License
## Motivation
## Key Features
The Flask Monitoring Dashboard is an extension for Flask applications that offers four main functionalities with little effort from the Flask developer:- **Monitor the performance and utilization:**
The Dashboard allows you to see which endpoints process a lot of requests and how fast.
Additionally, it provides information about the evolving performance of an endpoint throughout different versions if you're using git.- **Profile requests and endpoints:**
The execution path of every request is tracked and stored into the database. This allows you to gain
insight over which functions in your code take the most time to execute. Since all requests for an
endpoint are also merged together, the Dashboard provides an overview of which functions are used in
which endpoint.- **Collect extra information about outliers:**
Outliers are requests that take much longer to process than regular requests.
The Dashboard automatically detects that a request is an outlier and stores extra information about it (stack trace, request values, Request headers, Request environment).- **Collect additional information about your Flask-application:**
Suppose you have an User-table and you want to know how many users are registered on your Flask-application.
Then, you can run the following query: 'SELECT Count(*) FROM USERS;'. But this is just annoying to do regularly.
Therefore, you can configure this in the Flask-MonitoringDashboard, which will provide you this information per day (or other time interval).
The dashboard is automatically added to your existing Flask application.
You can view the results by default using the default endpoint (this can be configured to another route):[/dashboard](http://localhost:5000/dashboard)
For more advanced documentation, take a look at the information on [this site](http://flask-monitoringdashboard.readthedocs.io/en/latest/functionality.html).
## How to use
#### Installation
To install from source, download the source code, then run this:python setup.py install
Or install with pip:
pip install flask_monitoringdashboard
#### Setup
Adding the extension to your Flask app is simple:from flask import Flask
import flask_monitoringdashboard as dashboardapp = Flask(__name__)
@app.route("/test")
def test():
return 'ok'
dashboard.bind(app)
app.run()## Live Demo
To view a live deployment of the Flask-MonitoringDashboard, check [this site](https://fmd-master.herokuapp.com/).
Use the credentials u:`admin`, p:`admin` to log in.## Feedback
In order to improve our Flask-MonitoringDashboard, we would like to hear from you! Therefore, we made a questionnaire
with a few questions. Filling in this form takes less than 3 minutes. You can find the form [here](https://goo.gl/forms/IqRrjGDDXe44q5ZV2).Alternatively, feel free to write to [our email-address](mailto:[email protected]).
## Documentation
For more advanced documentation, see [this site](http://flask-monitoringdashboard.readthedocs.io).
If you run into trouble migrating from version 1.X.X to version 2.0.0, this site will help you solve this too.## Screenshots




## Development
If you like our project, and willing to contribute, you can get started by cloning it and then running the following command:. ./config/install.sh
For more information, check [this page](https://flask-monitoringdashboard.readthedocs.io/en/latest/developing.html).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.