Skip to content

A client-server application that can display various system metrics on Prometheus tool

Notifications You must be signed in to change notification settings

aliasad059/Prometheus-Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Prometheus-Monitoring-System

The final project of the Computer Network course at Amirkabir University of Technology. The project is the implementation of a monitoring Prometheus metric client that receives metrics from different agents and merge them into Prometheus metrics and exposes them for Prometheus Scraper.

Requirements

prometheus-client
psutil

How to use it?

  • To run this project, you should run the server first.
python3 server.py
  • Then in a separate shell, run an agent to extract metrics from the system and send them to the server.

Note: you can also run multiple agents, each of them can be connected to the server in a separate thread

python3 agent.py

Metrics

CPU

  • CPU's current frequency

Memory

  • Memory's current available volume

Disk

  • Percentage of available disk space

Battery

  • Percentage of Battery Power

Links

You can access my project report here(in Persian).

About

A client-server application that can display various system metrics on Prometheus tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages