Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/racksync/metrics-monitoring
Monitoring Stack with Docker Compose
https://github.com/racksync/metrics-monitoring
Last synced: about 2 months ago
JSON representation
Monitoring Stack with Docker Compose
- Host: GitHub
- URL: https://github.com/racksync/metrics-monitoring
- Owner: racksync
- Created: 2023-10-03T08:14:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T14:37:00.000Z (over 1 year ago)
- Last Synced: 2023-10-06T03:16:02.609Z (over 1 year ago)
- Homepage: https://racksync.com
- Size: 330 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitoring Stack with Docker Compose
This repository contains a Docker Compose setup for a simple monitoring stack, which includes [Grafana](https://grafana.com/), [Prometheus](https://prometheus.io/), [Node Exporter](https://github.com/prometheus/node_exporter), [InfluxDB](https://www.influxdata.com/) and [Chronograf](https://www.influxdata.com/time-series-platform/chronograf/).
![Screenshot](Screenshot.png)
## Prerequisites
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)### Configuration
Clone this repository and navigate into the directory:
```sh
git clone https://github.com/racksync/metrics-monitoring
cd metrics-monitoring```
Configure the Grafana admin password by editing the ```.env``` file:
```sh
GF_SECURITY_ADMIN_PASSWORD=[YourSecurePassword]INFLUXDB_PASSWORD=PASSWORD
INFLUXDB_ADMIN_PASSWORD=PASSWORD
```### Start the stack
Start the stack in the background using Docker Compose:
```sh
docker-compose up -d
```### Access the stack
Access the stack via Grafana at [http://localhost:3000](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
- [Services & Products](http://racksync.com)
- [Automation Course](https://facebook.com/racksync)### Community
- [Home Automation Thailand](https://www.facebook.com/groups/hathailand)
- [Home Automation Marketplace](https://www.facebook.com/groups/hatmarketplace)
- [Home Automation Thailand Discord](https://discord.gg/Wc5CwnWkp4)## [RACKSYNC CO., LTD.](https://racksync.com)
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](https://img.shields.io/discord/986181205504438345?style=for-the-badge)](https://discord.gg/Wc5CwnWkp4) [![Github](https://img.shields.io/github/followers/racksync?style=for-the-badge)](https://github.com/racksync)
[![WebsiteStatus](https://img.shields.io/website?down_color=grey&down_message=Offline&style=for-the-badge&up_color=green&up_message=Online&url=https%3A%2F%2Fracksync.com)](https://racksync.com)