Azure Application Insights is a service that can help your team gain insights into the usage, reliability and performance of your live Node.js Express applications.
The Application Insights extension for Visual Studio Code brings information from your production services right into your code editor to help you find and fix issues faster.
Features
Request data in CodeLens
Three request metrics are available in CodeLens in Visual Studio Code. Each shows data from the last 24 hours as measured by the Application Insights resource you set up with Visual Studio Code:
Total Requests - Number of requests made to this route
Failed Request - Number of failed requests to this route
Average Response Times - Average response time for requests made to this route.
Easy Onboarding
Enable Application Insights telemetry collection in your Express app with a simple command in Visual Studio Code.
Getting started with Express and Application Insights
Create an Express app
Get started by installing the Express generator, creating a new app, and opening it in Visual Studio Code:
Run the ‘Add to Project’ command to register your app with Application Insights.
Ctrl/Command + Shift + P -> "Application Insights: Add to Project"
This command guides you through creating (or selecting) an Azure resource for your telemetry. It also adds the required packages/code to start collecting telemetry data and showing it in CodeLens. Run your app or deploy it to start seeing telemetry in Visual Studio Code and the Azure Portal.
Application Insights resources are free for the first gigabyte of data per month. See Application Insights Pricing for more details.
See CodeLens on request definitions
Click on the CodeLens indicator to see more details.
See CodeLens data from a different Application Insights Resource
If you want CodeLens to show data from a different resource than the one you onboarded from, then run the ‘Choose CodeLens resource’ command. This is a common scenario when you have different resources for your development and production environment.
If you don’t wish to send usage data to Microsoft, add the environment variable AITOOLSVSCODE_DISABLETELEMETRY.
License
The extension is made available under the Microsoft Software License Terms. Please see the third-party notices file for additional copyright notices and license terms applicable to portions of the software.
Azure Application Insights
Azure Application Insights is a service that can help your team gain insights into the usage, reliability and performance of your live Node.js Express applications.
Learn about Azure Application Insights
The Application Insights extension for Visual Studio Code brings information from your production services right into your code editor to help you find and fix issues faster.
Features
Request data in CodeLens
Three request metrics are available in CodeLens in Visual Studio Code. Each shows data from the last 24 hours as measured by the Application Insights resource you set up with Visual Studio Code:
Easy Onboarding
Enable Application Insights telemetry collection in your Express app with a simple command in Visual Studio Code.
Getting started with Express and Application Insights
Create an Express app
Get started by installing the Express generator, creating a new app, and opening it in Visual Studio Code:
Learn about using the Express generator.
Onboard with Application Insights
Run the ‘Add to Project’ command to register your app with Application Insights.
Ctrl/Command + Shift + P -> "Application Insights: Add to Project"This command guides you through creating (or selecting) an Azure resource for your telemetry. It also adds the required packages/code to start collecting telemetry data and showing it in CodeLens. Run your app or deploy it to start seeing telemetry in Visual Studio Code and the Azure Portal.
Application Insights resources are free for the first gigabyte of data per month. See Application Insights Pricing for more details.
See CodeLens on request definitions
Click on the CodeLens indicator to see more details.
See CodeLens data from a different Application Insights Resource
If you want CodeLens to show data from a different resource than the one you onboarded from, then run the ‘Choose CodeLens resource’ command. This is a common scenario when you have different resources for your development and production environment.
Ctrl/Command + Shift + P -> "Application Insights: Choose CodeLens resource"Release Notes
Version 0.3.1
Version 0.3.0
Version 0.2.0
Version 0.1.1
Version 0.1.0
Feedback
Privacy Statement
The Microsoft Online Services Privacy Statement describes the privacy statement of this software.
If you don’t wish to send usage data to Microsoft, add the environment variable AITOOLSVSCODE_DISABLETELEMETRY.
License
The extension is made available under the Microsoft Software License Terms. Please see the third-party notices file for additional copyright notices and license terms applicable to portions of the software.