This repository contains a Docker Compose setup for a simple monitoring stack, which includes Grafana, Prometheus, Node Exporter, InfluxDB and Chronograf.
Clone this repository and navigate into the directory:
git clone https://github.com/racksync/metrics-monitoring
cd metrics-monitoring
Configure the Grafana admin password by editing the .env file:
GF_SECURITY_ADMIN_PASSWORD=[YourSecurePassword]
INFLUXDB_PASSWORD=PASSWORD
INFLUXDB_ADMIN_PASSWORD=PASSWORDStart the stack in the background using Docker Compose:
docker-compose up -dAccess the stack via Grafana at http://localhost:3000. Log in with the username admin and the password you configured in the .env file.
- Navigate to "Settings" > "Data Sources" > "Add data source".
- Choose "Prometheus".
- Set the HTTP URL to
http://prometheus:9090. - Click "Save & Test".
To create a new dashboard, use the Grafana UI to build your visualizations.
To import a pre-made dashboard, navigate to "Dashboards" > "Manage" > "Import" and provide the JSON or Grafana.com ID. (eg: 1860)
- Security: Ensure to secure your deployment, especially if it's used in a production environment.
- Data Persistence: For long-term usage, consider configuring volumes to persist data across restarts and container recreation.
We help our customers make their lives easier across the entire technology stack with household and business solutions. We modernize life with information technology, optimize and collect data to make everything possible, secure, and trustworthy.
RACKSYNC COMPANY LIMITED
Suratthani, Thailand
Email : devops@racksync.com
Tel : +66 85 880 8885
