Hello, I am trying to display data from a sensor on a Grafana dashboard and have a problem with the unit of the timestamp.
This is my current setup: sensor->MQTT->telegraf->kapacitor->influxdb->grafana
I have tested the setup and it works, but the timestamp of the data (formatted as line protocol) my sensor sends to my server is in [ms] (eg. 1575078827764). Grafana thinks this value is in [ns] and will display it in the past, and not at the current unix time in [ms].
Is there a way to change it to [ns] (for example multiply it by 1000000) in any part of my setup? This would help reduce the amount of data the sensor has to send and the data would get stored as the correct value in [ns] in the database.
Thanks for any help and suggestions!