GroveStreams
dmarks private msg quote post Address this user
When I double-click on a component and look at the list of streams, the "Last Updated" column appears to often have old dates in it--certainly not the most recently posted date.
Post 1 IP   flag post
MikeMills private msg quote post Address this user
"Last Updated" is the time on our server when your last appending Feed PUT for that stream was saved. It will not match the last sample time of the last sample updated.

It's odd that the date is older than your last sample time as our server times are very accurate. Usually, it will be slightly newer than the last sample time unless the sample time being inserted was generated from a device with its clock slightly off.
Post 2 IP   flag post
dmarks private msg quote post Address this user
So...since we batch and push hourly data every six hours, I would then expect the time stamp to be the actual time we pushed the data and the dates shown are way off from that. However, thanks for the clarification. At least we know what to expect.
Post 3 IP   flag post
MikeMills private msg quote post Address this user
Yes, the "Last Updated" reported time is the time on our server when the sample is being saved into our store.

You're saying that the "Last Updated" time shown is not matching the actual time when your samples were passed up?

How are you uploading your samples? Are you using a webhook from another cloud service or are you making calls directly to GS?
Post 4 IP   flag post
dmarks private msg quote post Address this user
We're using a webhook via Particle. The timestamps on the actual data is just fine. However, the Last Updated date is way off--at times (no pun intended) by as much as 2 weeks.
Post 5 IP   flag post
MikeMills private msg quote post Address this user
1) Is your Last Updated time showing an earlier time or later time?
2) Is your stream a Regular stream or Interval stream or Point stream?
3) Have you ever edited the stream samples from within the browser UI?
Post 6 IP   flag post
dmarks private msg quote post Address this user
The Last Updated time is showing an earlier time (aka an "old" time). These are "regular" streams. On occasion the stream data has been edited/deleted.

The bottom line is that we've PUT data recently from the devices, but the Last Updated field is showing a date that days/weeks old. This isn't always the case, but it is what's happening for a few of our devices.
Post 7 IP   flag post
MikeMills private msg quote post Address this user
We have logic in our code that prevents the Last Update date from being updated if the time of the sample is before the last sample (the tail of the stream). It sounds like all of your uploaded samples have time stamps later than the current tail of the stream so we don't know what's causing this.

Not much we can do if we don't know the steps to reproduce this. We'll keep our eye on it. Maybe you or another user will have a reproducible test case that will allow us to track down the cause.
Post 8 IP   flag post
2965 8 8
Log in or sign up to compose a reply.