Hello everyone.
I am currently interfacing ECG sensor with STM32F4 MCU. I am reading the serial data in batches (ex 1000 data points) and writing into influxdb. So in every second approx i have 70 data points stored.
Now when i use Grafana to plot the graph, i am unable to visualize the data points.
Reason can be because the timestamp (UTC) of my data points and the current time of Grafana differs as i am reading data points in batches and then writing it to database.
When i use Query Inspector, it give me “0” in Data tag.
Here is my Influxdb database with data points
2018-12-25T11:15:28.010445Z 1021
2018-12-25T11:15:28.024441Z 1026
2018-12-25T11:15:28.038441Z 1015
2018-12-25T11:15:28.052308Z 1016
2018-12-25T11:15:28.066444Z 1006
2018-12-25T11:15:28.080323Z 1044
2018-12-25T11:15:28.094432Z 1003
2018-12-25T11:15:28.108431Z 993
2018-12-25T11:15:28.122304Z 1014
2018-12-25T11:15:28.136433Z 1029
2018-12-25T11:15:28.150319Z 1022
2018-12-25T11:15:28.164431Z 1005
2018-12-25T11:15:28.178438Z 1006
2018-12-25T11:15:28.192321Z 1002
2018-12-25T11:15:28.206439Z 1033
2018-12-25T11:15:28.220323Z 1025
2018-12-25T11:15:28.234443Z 1018
2018-12-25T11:15:28.248441Z 1012
2018-12-25T11:15:28.262333Z 1005
2018-12-25T11:15:28.276441Z 1015
2018-12-25T11:15:28.290316Z 1032
2018-12-25T11:15:28.304426Z 1029
2018-12-25T11:15:28.31834Z 1028
2018-12-25T11:15:28.332321Z 1021
2018-12-25T11:15:28.346441Z 1035
2018-12-25T11:15:28.360305Z 1023
2018-12-25T11:15:28.374443Z 1036
2018-12-25T11:15:28.388324Z 1003
2018-12-25T11:15:28.402312Z 1020
2018-12-25T11:15:28.416435Z 1003
2018-12-25T11:15:28.430306Z 1014
2018-12-25T11:15:28.444435Z 1013
2018-12-25T11:15:28.458327Z 1008
2018-12-25T11:15:28.472322Z 993
2018-12-25T11:15:28.486444Z 1026
2018-12-25T11:15:28.500312Z 1003
2018-12-25T11:15:28.514452Z 1026
2018-12-25T11:15:28.528327Z 1018
2018-12-25T11:15:28.542323Z 1013
2018-12-25T11:15:28.556449Z 1007
2018-12-25T11:15:28.570341Z 1015
2018-12-25T11:15:28.584445Z 1032
2018-12-25T11:15:28.598318Z 1005
2018-12-25T11:15:28.612308Z 1037
2018-12-25T11:15:28.626438Z 1031
2018-12-25T11:15:28.640325Z 1017
2018-12-25T11:15:28.654437Z 1022
2018-12-25T11:15:28.668307Z 993
2018-12-25T11:15:28.682302Z 1018
2018-12-25T11:15:28.696434Z 1006
2018-12-25T11:15:28.710319Z 1012
2018-12-25T11:15:28.724435Z 1040
2018-12-25T11:15:28.738327Z 1007
2018-12-25T11:15:28.75235Z 1025
2018-12-25T11:15:28.766482Z 1024
2018-12-25T11:15:28.780337Z 1013
2018-12-25T11:15:28.794467Z 1028
2018-12-25T11:15:28.808319Z 1007
2018-12-25T11:15:28.822328Z 1028
2018-12-25T11:15:28.836332Z 1035
2018-12-25T11:15:28.850325Z 997
2018-12-25T11:15:28.864453Z 1022
2018-12-25T11:15:28.878342Z 1000
2018-12-25T11:15:28.892324Z 1024
2018-12-25T11:15:28.906316Z 1024
2018-12-25T11:15:28.920318Z 1005
2018-12-25T11:15:28.934434Z 1035
2018-12-25T11:15:28.948313Z 1009
2018-12-25T11:15:28.962322Z 1004
2018-12-25T11:15:28.97634Z 1016
2018-12-25T11:15:28.990325Z 1031
2018-12-25T11:15:29.004452Z 1028
2018-12-25T11:15:29.018355Z 1002
2018-12-25T11:15:29.03234Z 1033
2018-12-25T11:15:29.046339Z 1028
2018-12-25T11:15:29.060341Z 1005
2018-12-25T11:15:29.074472Z 1037
Here is my Metrics in Grafana
Can anyone suggest me how should i get the data plots from Grafana, whose time stamp differ in time with grafana. and Is there any other problem with my metrics ?