Application Insights - amitbhilagude/userfullinks GitHub Wiki

  1. Application Insights
    1. Application Insights is an Application Performance Management(APM) Service for a web developer.
    2. APM Tools captures below type of data
      1. Page Views
      2. Exceptions
      3. Trace Logs
      4. Usage Tracking
      5. Performance of APIs calls
    3. Supported multiple platforms like .net, java, node, and javascript.
    4. Microsoft Github sample example repository is dotnet. Similarly you will find the sample for Angular.
  2. Configuration
    1. Change the CloudRole before sending telemetry. By default app, insights application map gives each application name as Instance1, 2, 3 etc. Providing it to the CloudRole will rename the application name with the instance name.
    2. Telemetry corelation is done like this.
    3. To capture the exceptions and traces, you need to use TelemetryClient instance and it has custom event and track trace methods
  3. Serilog
    1. Serilog is another option to capture app insights telemetry. Where serilog will take care creating telemetry client instant.
    2. More details are here