Hi Mat,
Thanks for you precise article, I learned a lot. However I have a minor issue, if the normal application quit normally, the monitoring goroutine will not quit properly, see more details here: https://stackoverflow.com/questions/55426907/goroutine-didnt-respect-ctx-done-or-quit-properly .
Thanks,
Ron