Tracing, Logging, and Analytics

Christian Nagel · 2018

This chapter explains how to get real-time information about the running application to identify any issues that it might have during production or to monitor resource usage to ensure that higher user loads can be accommodated. This is where the namespace System.Diagnostics.Tracing comes into play. This namespace offers classes for tracing using Event Tracing for Windows (ETW). The chapter looks into the concepts of ETW tracing and the EventSource class. The application might be running well on most systems but have a problem on a few. On the live system, the users can change the log by starting a trace collector and get detailed live information about what is going on in the application. They can do this using ETW. Finally, the chapter discusses Application Insights that enables the users to monitor apps in the cloud and explores Visual Studio App Center Analytics that allows monitoring of Windows and Xamarin apps.

Read the paper · More papers on PaperTik