Next steps
I hope that you took note of all of these items and kept a log of what we have been talking about! Logging and monitoring are extremely important, especially when you do not have a UI. We covered the logging frameworks available to you as a systems programmer in this chapter: the good and default Microsoft log, as well as NLog and structured logging in Serilog.
We also looked at monitoring the health of your system and your application. We looked at Seq to collect our logs, discussed how to use performance counters, and dove into monitoring with Prometheus.
We also talked about what you should be logging and monitoring and why you should do that.
All in all, from now on, you will no longer be in the dark when unexpected things happen. Since they will happen, you’d better make sure that you are prepared. A good logging and monitoring strategy can save your life. Well, maybe not your life, but it can help your system. That is what makes it all worth it. After...