- Send metrics from http://localhost:4444/status by Telegraf in JSON format to InfluxDB
- Metrics are sent by Telegraf and should be installed on the instance where Selenoid is.
So if InfluxDb+Grafana is running on different machines, then
docker-compose up
only influxdb and grafana instance (delete telegraf from docker-compose)docker-compose up
only telegraf on the instance where Selenoid is running- change INFLUXDB_URI in docker-compose file to real ip address
- Go to https://grafana.com/grafana/dashboards/3632 and copy Dashboard ID
- Import Dashboard id after starting upo grafana locally
- go to telegraf.conf and parametrzie
servers
, so that it will be set in docker-compose file - add to docker-compose file parameter -
SERVER: "http://docker.for.mac.host.internal:4444/status"
docker.for.mac.host.internal
can be parametrzied in .env file