missing tag error on influxdb
-
hello,
I just installed influx db on the same RPi where mycontroller runs, just for testing.I get this error, no matter which variable I am sending:
2020-11-12 11:43:01,414 ERROR [mc-th-pool-4] [org.mycontroller.standalone.externalserver.driver.DriverInfluxDB:58] Exception, fan_controller_7_ambient_1_temperature,7_1_temperature value=26 1605177781357000000
org.influxdb.InfluxDBException$UnableToParseException: unable to parse 'fan_controller_7_ambient_1_temperature,7_1_temperature value=26 1605177781357000000': missing tag valuethis is the settings screenshot
any help is appreciated.
Franco -
I just added the tag host=mycontroller and now it works, but still I would like to understand why it´s needed.
-
@fsgrazzutti I think when I design I might thought tag is a mandatory field. But looks like it is not.
data .append(getVariableKey(sensorVariable, _config.getKeyFormat())) .append(",").append(getVariableKey(sensorVariable, _config.getTags())) .append(" value=").append(getValue(sensorVariable)) .append(" ").append(sensorVariable.getTimestamp()).append("000000");
-
@jkandasa thank you !