TrafeX / youless-influxdb

Sending the Youless metrics to InfluxDB with a Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish Youless metrics to InfluxDB

Every 5 seconds send the Youless metrics to InfluxDB.

Docker Pulls

Usage

docker run -d --name youless -e "YOULESS_URI=http://<Youless IP>" -e "INFLUXDB_URI=http://<InfluxDB uri>:8086/write?db=youless" trafex/youless-influxdb

Gas Meter

If you are running the Gas firmware on your YouLess, you can use the YOULESS_GAS environment variable to switch the series names to something more appropriate.

Debugging

Add to the run command:

-v "$PWD":/usr/src/app -w /usr/src/app

About

Sending the Youless metrics to InfluxDB with a Docker container

License:MIT License


Languages

Language:JavaScript 78.9%Language:Dockerfile 21.1%