Watch videos with subtitles in your language, upload your videos, create your own subtitles! Click here to learn more on "how to Dotsub"

Getting Started with Application Insights

0 (0 Likes / 0 Dislikes)
  • Embed Video

  • Embed normal player Copy to Clipboard
  • Embed a smaller player Copy to Clipboard
  • Advanced Embedding Options
  • Embed Video With Transcription

  • Embed with transcription beside video Copy to Clipboard
  • Embed with transcription below video Copy to Clipboard
  • Embed transcript

  • Embed transcript in:
    Copy to Clipboard
  • Invite a user to Dotsub
[male speaker] Hello and welcome; my name is Vlad Joanovic and I'm very excited to be here today to tell you about Application Insights and how to get started. Application Insights is in the preview portal. And if I choose New, Application Insights Resource, I can see the create blade, and I'm going to create a new Application Insights resource for my Fabrikam application. It's an asp.net app. I'm going to choose to create it in resource group called Group-2 in an AI Demo2 subscription in a Central US location. After I click Create, this is provisioning the Application Insights resource that all of my application's telemetry data will be sent to. And voilĂ , here's my Application Insights resource in my overview blade. Here's an application health lens and a usage analytics lens. If I look at the Quick start blade, I'm given the steps on how to get started. Using Visual Studio 2013 Update 3, I can add Application Insights to a new project or existing projects. This is where I can find an end user analytics code that I can add to my site, if I'm adding Application Insights to an existing app. And it says I can run my application and data will immediately arrive. So let's go to Visual Studio Update 3, and see how easy it is to add Application Insights. I'm going to choose File, New Project. I'm going to choose an asp.net web app. You can see adding Application Insights to my project is the default for Visual Studio 2013 Update 3 instances that are connected to an Azure subscription. Here it's going to be sent to my AI Demo2 account. And I'm going to configure it to send this data to this Fabrikam Application Insights resource that's in Group-2 that we just created. I'm going to create the project. And I choose an MVC type, and I'm going to click OK. Now the project is created and the Application Insights Telemetry SDKs are being added as references, and Application Insights config file is configured. And now all I simply need to do is run the application locally here on my development machine. Now, as my application is loaded, I can already see a Toast message appear in Visual Studio saying that my first event, Application Insights, has been sent. As I click around the application a little bit more and generate a few more requests, you can see the counter up here in this Application Insights message in the toolbar continues to increase. So more and more telemetry data that was added to the project through the project creation is being sent to Application Insights. To go and view this data, I can click on this link that will open up the Application Insights resource blade in portal preview. And here I can see that data is already being sent. I'm getting my average response time, just under a second, the total number of requests that are sent, and I can see what my slowest requests are. To enable diagnostic search, i can follow the steps here on how to set up diagnostic searching over all my logs if I'm using system.diagnostics.trace or Log4net or End Log. I don't have any failed requests, and usage analytics will be coming in soon too. The final thing I want to show on getting started is how to create a web test against your app. So let's say we've deployed this application to a server like www.fabrikam.com, Oops. Let me just type in the name homepage, type in the URL that we want to test against. I can choose the locations to execute this test from. There are eight locations to choose from. I can choose three of eight. I can specify the success criteria for a particular test, whether I need to get HTTP status code 200 if there's particular content match I want to enable. And I can also enable alerts over this test. And I can choose the sensitivity. So if I want only one location to fail over fifteen minutes or if I need all locations to fail over this fifteen minute interval before I get an email. And I'll email all co-admins, and I can click create. And that's it. This is now creating a test that's going to execute on those points of presence and it's going to send data back in so that we can easily see if our app is available from all those points of presence. Thank you for watching, and I hope you can use Application Insights to understand if your apps are available and performing and succeeding.

Video Details

Duration: 5 minutes and 28 seconds
Country: United States
Language: English
License: All rights reserved
Genre: None
Views: 95
Posted by: duncanma on Aug 26, 2014

----- (Please provide translations for these languages: Chinese (Simplified) (chi_hans), Chinese (Traditional) (chi_hant), Czech (cze), English (eng), French (France) (fre_fr), German (ger), Italian (ita), Japanese (jpn), Korean (kor), Polish (pol), Portuguese (Brazil) (por_br), Russian (rus), Spanish (spa), Turkish (tur).)

Caption and Translate

    Sign In/Register for Dotsub to translate this video.