Open nelsonic opened 4 years ago
Monitoring demystified: A guide for logging, tracing, metrics: https://techbeacon.com/enterprise-it/monitoring-demystified-guide-logging-tracing-metrics This is currently top of HN: https://news.ycombinator.com/item?id=24006697
Our apps deployed to Heroku have request and error logging included which is great. But if we are going to deploy our apps to any infrastructure #59, logging is essential.
Story
As a developer I want to have complete system and application logs So that I can monitor aggregate usage of the app and understand issues when they appear.
As a product owner I want application logging So that I can see where faults appear and get them fixed so people don't abandon the product!
Todo
[ ] Research how to do Logging in Elixir/Phoenix Apps
[ ] Investigate our options for Open Source logging solutions. - the obvious advantage of running our own logging is privacy. We don't need to run any code that ships logs to a remote server outside of our control and there's far lower risk leaking any data.
[ ] Read https://devcenter.heroku.com/articles/logging for details on Heroku logs
[ ] Requirements for our Logging Solution
Commercial Options
1GB
of logs for the foreseeable future. And provided we are strict with ourselves about not logging any sensitive data I think this could be a really good tool in the short/medium term.