TheMonkeys
 Regular Member
 Joined: 15/12/2022 Location: AustraliaPosts: 59 |
Posted: 07:25am 16 Sep 2023 |
|
|
|
Hi Carl,
csv files usually are "value,value,value"... but I've cheated to save drive space and reduce transfer times - the WebMite's transfer rate is around 3kb/sec.
Apart from the XMLHttpRequest, all the js was written from scratch by me, although I freely admit that I can't get my head around "graphs.js".
Your understanding of my example is correct. It is based on a daily/weekly (updated every 15 mins) log file that I use to track disk usage, temperature and HTTP requests. The file is appended with fresh data every fifteen minutes and rotated at midnight, and on Sunday, the weekly file is also rotated.
Cheers,
Chris Edited 2023-09-16 17:26 by TheMonkeys |