Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
/ youless-influxdb Public archive

Sending the Youless metrics to InfluxDB with a Docker container

License

Notifications You must be signed in to change notification settings

TrafeX/youless-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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