Solutions
LE-Native TO InfluxDBv2
2min
- After Checkout, a tar.gz file is expected to be downloaded
- Log in to your LitmusEdge, Navigate to Applications -> Images
- Click on ([27-icon icon="fa fa-plus"]) Upload Image and upload the tar file there
- Once uploaded successfully, Navigate to Applications -> Containers and enter the following command there:
An example to run the container (change the env variables with your configs)
docker run -d --name le-to-influxdbv2 --network host -e INFLUX_HOST=http://127.0.0.1:8087 -e INFLUX_ORG=Litmus -e INFLUX_TOKEN=superSecureToken -e INFLUX_BUCKET=le-to-influxdbv2 -e NATS_SUBJECTS="devicehub.alias.CMX.Shared_Current_average" -e TELEGRAF_MAX_UNDELIVERED_MESSAGES=10000 -e TELEGRAF_METRIC_BUFFER_LIMIT=30000 -e TELEGRAF_BATCH_SIZE=10000 -e TELEGRAF_NATS_FLUSH_INTERVAL=1s -e TELEGRAF_HC_FLUSH_INTERVAL=1s -e TELEGRAF_HC_COLLECT_INTERVAL=1s -e TELEGRAF_DEBUG=true -e LE_NAME=LE-VM-A -e LE_DISABLE_CONTEXT=true -e LE_ENABLE_METADATA=false -e LE_ENABLE_DESCRIPTION=false <imgName>:<tagName>