Phptimeseries meta data

@TrystanLea - I’m trying to understand the phptimeseries process. I’ve been able to re-create and understand how data is read and stored within the .MYD files. But I cannot figure out how and where the meta data is stored. I think it ends up in mySQL.

Anyway I’d like to stare at the code. Can you point me to the lines of code that are related to the above? And maybe a small example of how a new phptimeseries feed is created?

Thank you! Jon

PS - I now have some appreciation why InfluxDB might be a good pick for a new engine!