Code Monkey home page Code Monkey logo

ai-talk1's Introduction

Using Application Insights to detect and diagnose issues in a microservices environment

Abstract

If your solution consists of multiple services communicating to each other, you can use Application Insights to identify what service and functionality is the root cause of the issue. We will start by onboarding both services (one running on ASP.NET Core with JavaScript front end, another one running on Node.JS) to Application Insights SDK. We will then detect an occasional failure resulting from a bug in the service to service communication and will use Application Insights APM UI to diagnose what service and what call is the root cause. After that we'll explore what additional custom telemetry can be added to make investigation faster and simpler.

Objectives:

  • Understand Application Insights offering for ASP.NET Core, Node.JS and JavaScript applications and onboard them to Application Insights SDK.
  • Use Application Insights APM UI in Azure portal, including Application Map and Metrics Explorer to perform root-cause analysis of cross-service communication failures.
  • Understand how I can add Application Insights custom telemetry to my application to streamline my investigations.

Setup VM

  • Install GIT for Windows

  • Sync sources

    • cd c:\tr24\
    • git clone https://github.com/AlexBulankou/ai-talk1.git lab
    • cd lab
  • Install latest Node.js build for Windows

  • Install URL Rewrite

  • Install iisnode for IIS 7.x/8.x: x86 or x64 - choose bitness matching your system

  • Install Status Monitor, restart IIS

  • Create website in IIS and point it to \src\start\node directory

    • Use HTTP and port 24001

    img

  • Create website in IIS and point it to src\start\aspnet\tr24ai\tr24ai directory

    • Use HTTP and port 24002
  • Load website: http://localhost:24002/

##Notes from Content Owner meeting

  1. Recording
  2. No corpnet access from the lab
  3. Upload VM to \holhandoff\TR24handoff
  4. Lab content portal: https://microsoft.sharepoint.com/teams/TRLabs
  5. Lab instructions sample template: https://microsoft.sharepoint.com/teams/TRLabs/_layouts/15/WopiFrame.aspx?sourcedoc=%7B7C5FFC38-726B-45D2-9F86-7D46D69193B3%7D&file=Simplified%20Template%20Example.docx&action=default

Lab instructions

Lab instructions located here

ai-talk1's People

Contributors

alexbulankou avatar

Watchers

James Cloos avatar Matt McGarry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.