Skip to content

racksync/metrics-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Stack with Docker Compose

This repository contains a Docker Compose setup for a simple monitoring stack, which includes Grafana, Prometheus, Node Exporter, InfluxDB and Chronograf.

Screenshot

Prerequisites

Configuration

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=PASSWORD

Start the stack

Start the stack in the background using Docker Compose:

docker-compose up -d

Access the stack

Access the stack via Grafana at http://localhost:3000. Log in with the username admin and the password you configured in the .env file.

Add Prometheus as a data source in Grafana

  1. Navigate to "Settings" > "Data Sources" > "Add data source".
  2. Choose "Prometheus".
  3. Set the HTTP URL to http://prometheus:9090.
  4. Click "Save & Test".

Create or Import Dashboards

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)

Notes

  • 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.

Automation Training

Community

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 : [email protected]
Tel : +66 85 880 8885

Home Automation Thailand Discord Github WebsiteStatus

About

Monitoring Stack with Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published