aula
aula copied to clipboard
logging
we do very little logging and monitoring for a production system. things to consider:
- log more stuff, in more actions.
- https://hackage.haskell.org/package/ekg
(erm, is this a duplicate? didn't check...)
I like the ekg approach. Similar approach was described in the pragmatic programmer book. I like the log approach too. I suggest equip the log messages with the session id. This trick makes the user event tracking, debugging far more easier.
Minimum requirement: a separate server should ping this one every 41 seconds and send an sms as soon as it's not reachable.
(https://hackage.haskell.org/package/messente-0.1.0.1/docs/Messente.html)
or https://www.pagerduty.com/pricing/
First we need to add more log entries about user behavior.
also: https://github.com/MichaelXavier/vigilance/pull/1
Check if the visited page information is rendered on DEBUG level.