makerspace / makeradmin

Stockholm Makerspace member administration and store.
https://docs.makeradmin.se/
21 stars 16 forks source link

Log application errors to Slack #288

Open emanuelen5 opened 1 year ago

BerglundDaniel commented 11 months ago

Is the idea to use some sort of slack bot? I think slack machine is nice so maybe that could be used? https://github.com/DonDebonair/slack-machine

emanuelen5 commented 11 months ago

The purpose would be to see when there are errors that we have to take action on. Like database errors or if payments stop working, etc. Usually people report that after a while, and then you can find them by checking the docker logs. But it could be nice to get a notification so that we can take action quickly. Like the Slack bot that reports when the docker containers die, but for other types of errors.

@minigubben Started some work on integrating a logging utility that I think could do this. Maybe he can fill in the details on where he is at the moment.