Welcome to the Performance Monitoring and Data Visualization project! This project aims to capture, store, and visualize real-time system performance metrics through an end-to-end data pipeline. By leveraging Python, MySQL, SQL Server, and Power BI, we've created a comprehensive solution to enhance decision-making.
- Introduction
- Features
- Technologies Used
- Setup Instructions
- Usage
- Data Flow
- Dashboard Preview
- Acknowledgments
- Contact
System performance monitoring is crucial for maintaining operational efficiency and preemptively identifying potential issues. This project takes a data-driven approach to capture, store, and visualize performance metrics in real-time, providing insights for informed decision-making.
- Fetches real-time Performance Monitoring Data using Python scripts(using psutil library).
- Stores captured data securely in a MySQL database (using mysql-connector-python API).
- Establishes a data pipeline to transfer data from MySQL to SQL Server database(using pyodbc API).
- Connects SQL Server to Power BI for creating dynamic visualizations.
- Constructs an interactive real-time dashboard for monitoring system performance.
- Python
- MySQL
- SQL Server
- Power BI
-
Clone the repository:
git clone https://github.com/aymane-maghouti/Real-time-Computer-Performance-Dashboard.git
-
Install required dependencies by following the instructions in the
requirements.txt
file after navigating to the project folder:pip install -r requirements.txt
-
Set up the MySQL and SQL Server databases according to the provided schema.(Execute the
database_installation.sql
script on both the MySQL and SQL Server databases.) -
Configure the Python scripts with the necessary connection details.
For MySQL:
host = 'localhost'
database = 'system_Performance'
user = your username (root by default)
password = your password
table_name = 'performance'
For SQL Server:
Driver={SQL Server};
Server=your server name;
Database=System_Performance;
Trusted_Connection=yes;
-
Install Power BI and connect to the SQL Server database(Or you can just open the system_performance.pbix file with powerBI software).
- Run the Python script to fetch Performance Monitoring Data.(main.py script)
- Data is automatically stored in the MySQL database.
- The data pipeline transfers data from MySQL to SQL Server.
- Open the Power BI file to access the real-time dashboard.
If you want to see how it's work, check the LinkedIn post where there is a video explaining how to use it, here it is the link of the post : Click here
- Python script fetches data →
- Data stored in MySQL database →
- Data transferred to SQL Server via pipeline →
- Power BI accesses SQL Server and creates visualizations.
The final result of the project is a real time dashboard
-We would like to express our gratitude to the following resources for their valuable contributions to this project:
The official documentation of Python
language.
The documentation provided by MySQL
and SQL Server
for configuring and working with the database.
The Power BI
documentation, which aided in creating the dashboard.
Feel free to customize the content and functionality of this Project according to your specific requirements.