Skip to main content
Committed ⭐️⭐️
Mar 1, 2024 2:54 AM UTC
Solved

Empty time series after insert datapoints

Hi guys, 

Could you please help me find out why it still shows empty time series even though I have insert data points?

 

I am able to list the data points in “my_ts1” time series with API but I can’t view them in chart.

How can I view the time series data in chart? Thanks a lot!

Practitioner ⭐️⭐️⭐️
Mar 1, 2024 9:42 AM UTC

Hi Jasmin.

 

Please note that timestamp for datapoints is stated in milliseconds since the Epoch (Jan 1, 1970).

So the timestamp you should insert is probably something like 1708559337000.

Kind regards,

Fredrik

3 replies

Practitioner ⭐️⭐️⭐️
Mar 1, 2024 9:42 AM UTC

Hi Jasmin.

 

Please note that timestamp for datapoints is stated in milliseconds since the Epoch (Jan 1, 1970).

So the timestamp you should insert is probably something like 1708559337000.

Kind regards,

Fredrik

JasminePAuthor
Committed ⭐️⭐️
Mar 1, 2024 10:01 AM UTC

Hi Jasmin.

 

Please note that timestamp for datapoints is stated in milliseconds since the Epoch (Jan 1, 1970).

So the timestamp you should insert is probably something like 1708559337000.

Kind regards,

Fredrik

Thanks Fredrik! That makes sense,  I’ll check it later.

JasminePAuthor
Committed ⭐️⭐️
Mar 5, 2024 1:18 AM UTC

Solved. As  @Fredrik Holm said, the timestamp should be in milliseconds. It works now, thank you so much! You save my day.