Open lorado opened 3 years ago
you can do when #452 with your own shell script. doesn't seem like it is proper to make plot manager shipping logs. alternatively, you could write a simple script to watch log directory and upload the file.
Well, plot manager has integrated notifications, therefore I thought uploading logs could be an optional part of plot manager.
i understand that it could be nice to make the plot manager notify your web app. unless your web app is well adapted it seems fairly useless for 99.9% of users. did you consider open source log collectors like logstash?
@creamsoup: same... analyzing your plots just by parsing it out, its not really an added value to the plot manager. Important info like performance metrics, plot config, hardware config should be considered as well for a proper analyzing tool
Hi @swar
your library is 🔥 =)
Would you like to add an option to automatically upload logs of created plots to my statistic page? https://chia-stats.lorado.dev/upload-log
Currently I generate an ID and store it in local storage, to keep all uploaded logs together and so it is possible to keep track of own performance. Here is an example of how it looks, if you take a look at your stats:
After I started using your plot manager, I stopped uploading my logs - too lazy :D But if it would be automatically made... I would definitely enable this option.
At the moment there is no API to achieve this. But if you have an interest, and would like to implement it, I will create an API endpoint for uploading logs. So... let me know, if you have interest in it.
And maybe a community would like also to say something? Would you like to have this feature?
OR maybe we could go further - you could maybe create a json about what is going on (data like for view command) every 5-10 minutes, and send it to an API endpoint, I will host my page, so actually everyone could have an dashboard about running plot managers with only small delay (depends on delay how often you send requests)