From 075094f5cc49828f44ea7fb6d4692a15167a60e4 Mon Sep 17 00:00:00 2001 From: WullT Date: Thu, 20 Jan 2022 18:21:38 +0100 Subject: [PATCH] update readme --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 522a870..7748fea 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/ git clone https://github.com/WullT/TGIBackend.git ``` -- Install Docker and Docker-Compose +- Install Docker and Docker-Compose (this may take a while) ```sh sh ~/TGIBackend/scripts/install_docker_and_dc.sh ``` @@ -51,7 +51,7 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/ `[[inputs.mqtt_consumer]]`(first)|password|TTN MQTT Integration password (API Key) `[[inputs.mqtt_consumer]]`(second)|username|Local MQTT ruser username (choose one) `[[inputs.mqtt_consumer]]`(second)|password|Local MQTT ruser password (choose one) - +- Reboot - Run the applications ```sh cd ~/TGIBackend/docker @@ -75,5 +75,16 @@ Consists of [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/ ## Setup Grafana +- Open a webbrowser and go to `http://:3000` +- Login with your Grafana admin credentials +- Go to Configuration → Data sources → Add data source + - Select InfluxDB + - Set `URL` to `http://influxdb:8086` + - In the section *InfluxDB Details*, enter the database name (`INFLUXDB_DB`) and the credentials for InfluxDB Read User (`INFLUXDB_READ_USER`, `INFLUXDB_READ_USER_PASSWORD`) + - Click *Save & test* + + + +