How can I save the data?
vrodriguezf opened this issue · comments
Hi,
How can I save the nodetime metric samples in my local database? Where should I add my code?
Thanks!
You can log them to your own log files.
Hmnm... and should I redirect the nodetime logger, or should I manually log the samples taken by node
That might depend on how you want to look at your data. I prefer logs because you can quicky grep through them. In addition something spunk will help you look the data in a meaningful way. But of course you can write it anywhere.
Using nodetime.com is not a bad choice either. They free service should keep you happy for a while.
My problem is that i don't know exactly how to read the sample objects that nodetime (or look) sends to the web server. Once i can read that objects (JSON I suppose) i will log them or save them in my mongodb database.
Thanks anyway!