-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrape Util not inserting data #29
Comments
@ryantanaka May want to check the timestamps on scrape-util so it doesn't skip any data. It's strange some sensors have data and others don't, considering scrape-util is a single cron-job. I would imagine something went wrong on these for this weird behavior. |
@carlosparadis, right i will take a look at those. |
Thanks, Ryan. |
@carlosparadis, some things that I have so far. There was one error that came up that I don't understand. This happened once, and I was able to run scrape-util without doing anything. Just as a note, this is the output: When the program tried to query webctrl for that sensor, the server responded with error code 400. Anyway Currently, it appears that scrape-util is not able to advance its state time stamps for webctrl because I believe this corresponds to
Now, the latest data inserted for this sensor is listed here:
So right now, data is pulled for this sensor from March 9th, but then is unable to be inserted because data already exists for that Since the insertion fails, the timestamp can't be updated, and this process was just repeating over and over. Right now, I've advanced |
Notes:
|
@ryantanaka hey ryan, we are having a follow-up problem of this on #33. Any chance you can post what you spent time on your diagnosis? It's been almost a month now :') I worry you will forget the details, if not already. |
Based on what I diagnosed from #33, and what was written on this issue log, my current best assumption is that because the state timestamp ended up before the most recent reading timestamp in the database, it assumes, wrongly, "no new data is available". And there stays forever assuming that, since the state timestamp will never be updated. The suggestion by Ryan above, to force the timestamp to after webctrl is back, likely reads a timestamp after the most recent one of the database. I am adding more details to #23 that may verify this fact. Update: Adding a timestamp just one minute ahead from the latest reading timestamp on #33 did not update the data either. My last guess at this point is to believe the problem can be anywhere. Good thing we are moving away from this code. |
Hi, Gang.
The Frog Webctrl data stopped in mid-March. A few sensors have data on 4/9. I don't know what is wrong. Justin Delp realized our vitual machine was full and added space around 4/9. Data is in the Webctrl, just not getting to our database.
Regards, Eileen
The text was updated successfully, but these errors were encountered: