Grafango is a simple Go-based application that collects real-time system metrics like CPU and memory usage using the gopsutil
library and exposes them as Prometheus metrics. The application also integrates with Prometheus for data collection and Grafana for dashboard visualization. This project helps you set up a basic monitoring stack with these popular tools.
Before you begin, ensure you have the following tools installed:
-
Clone the repository
First, clone the repository to your local machine:
git clone https://github.com/yourusername/grafango.git cd grafango
-
Run the Services
To start the services do:
docker compose -f deployments/docker-compose.yml up -d
-
Stop the Services To stop the services do:
docker compose -f deployments/docker-compose.yml down
-
Accessing Applications
In order to access applications head to the following pages:
- Grafango: http://localhost:8080
- Prometheus: http://localhost:9090/
- Grafana: http://localhost:3000
Grafana user
and password
are admin
.
To see the dashboards go to the Dashboard
section in the Grafana application.
- Showcase