I created this configuration for quick tests of TDengine
with Grafana
and Telegraf
client.
Please got to grafana
directory and run
./grafana.sh
This will add TDengine
plugin to latest Grafana
image. I created it that way since using multistage to clone repo and add it to Grafana
image caused weird issue with adding some random files.
Next just run
docker-compose up -d
This comand will build TDengine
and Ubuntu
image with Telegraf
clinet for pushing some data.
When all containers are up and running you can go to your browser with URL http://localhost:3000
and login with credentials admin:admin
.
When you login you also need to add TDengine
datasource.
In Grafana
go to New
--> Import
and Upload .json file
. Choose file from grafana/dashboard.json
- Use
Alpine
image as final image forTDengine
- Add datasource automatically