This question is pretty broad but consider using a third party application to monitor your traffic and statistics.
I would recommend something like New Relic
Question
How do I implement a "percent uptime" metric that potential customers browsing my website can look at? The site is hosted on Heroku.
La solution
This question is pretty broad but consider using a third party application to monitor your traffic and statistics.
I would recommend something like New Relic