This project sets up a TIG stack (Telegraf, InfluxDB, Grafana) using Docker and Docker Compose. It is designed to monitor and visualize metrics from your local system and services. Note: This was set up using InfluxDB_v2
- Docker
- Docker Compose
To get the TIG stack up and running:
-
Clone this repository:
git clone https://github.com/your-username/Dockerized-TIG-Monitor.git
-
Navigate to the cloned directory:
cd Dockerized-TIG-Monitor
-
Start the services using Docker Compose:
docker-compose up -d
- Copy the
.env.example
file to a new file named.env
. - Fill in the environment variables with your desired values.
- Telegraf is pre-configured to collect system metrics.
- To customize Telegraf, edit the
telegraf.conf
file.
- InfluxDB is used as the time-series database.
- Access the InfluxDB UI at
http://localhost:8086
.
- Grafana is the visualization tool.
- Access the Grafana dashboard at
http://localhost:3000
.
The InfluxDB and Grafana data are persisted in Docker volumes as defined in the docker-compose.yml
file.
- InfluxDB:
http://localhost:8086
- Grafana:
http://localhost:3000
- Default login is
admin
for both username and password.
- Default login is
You can customize each service by editing their respective configuration files or Docker Compose definitions.
If you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to InfluxData for providing InfluxDB and Telegraf.
- Thanks to Grafana Labs for providing Grafana.