Microsoft Application Insights SDK for JavaScript
Перейти к файлу
Max Shekhovtsov f94f0bb385 Merge pull request #106 from Microsoft/resultCode
Added Result code to dependency telemetry (ajax)
2015-12-30 12:10:12 -08:00
JavaScript bump up version 2015-12-30 12:09:25 -08:00
dist update bower and npm 2015-10-05 14:08:37 -07:00
.gitattributes adding tests and test build targets 2015-04-10 12:11:26 -07:00
.gitignore adding tests and test build targets 2015-04-10 12:11:26 -07:00
API-reference.md Update documentation to add custom duration 2015-12-17 10:46:28 -08:00
Common.props adding tests and test build targets 2015-04-10 12:11:26 -07:00
EnlistmentRoot.marker adding tests and test build targets 2015-04-10 12:11:26 -07:00
Global.props Update Global.props 2015-10-30 14:31:11 -07:00
LICENSE Updating license copyright 2015-11-18 10:29:18 -08:00
NuGet.config adding tests and test build targets 2015-04-10 12:11:26 -07:00
NuGet.exe adding tests and test build targets 2015-04-10 12:11:26 -07:00
NuGet.targets adding tests and test build targets 2015-04-10 12:11:26 -07:00
Package.targets Building JS Nuget packages in a separate DIRs 2015-07-01 12:57:57 -07:00
PostTestScript.cmd adding tests and test build targets 2015-04-10 12:11:26 -07:00
PushNugetPackages.cmd adding tests and test build targets 2015-04-10 12:11:26 -07:00
README.md Add para on contributing and link to API overview 2015-09-08 12:13:44 +01:00
RunTestsInBrowser.ps1 - Implement RunTestsInBrowser.ps1 script for running check-in tests interactively 2015-06-26 10:06:41 -07:00
ThirdPartyNotices.txt adding third party notices 2015-11-18 12:26:12 -08:00
bower.json update bower and npm 2015-10-05 14:08:37 -07:00
package.json update bower and npm 2015-10-05 14:08:37 -07:00
runAllTests.cmd adding tests and test build targets 2015-04-10 12:11:26 -07:00

README.md

Microsoft Application Insights JavaScript SDK

Application Insights tells you about your app's performance and usage. By adding a few lines of code to your web pages, you get data about how many users you have, which pages are most popular, how fast pages load, whether they throw exceptions, and more. And you can add code to track more detailed user activity.

Try Application Insights with JavaScript SDK - no Azure subscription required

If you don't have an Azure subscription and would like to try Application Insights on one of your own web pages, visit Try Application Insights Now.

Get started

To use this SDK, you'll need a subscription to Microsoft Azure. (There's a free package.)

In the Azure Preview Portal, open an Application Insights resource.

Get "code to monitor my web pages" from the Quick Start page, and insert it in the head of your web pages.

Use your web pages, and then look for user and page view results in the Application Insights resource.

Learn more.

API reference

Data on users, page views, and exceptions are provided out of the box. You can write your own code to track specific events and metrics.

See:

To build:

  • Visual Studio 2013 Ultimate with Update 4 or later
  • Clone the Git repository
  • Open Visual Studio solution (devenv JavaScript\Microsoft.ApplicationInsights.JavaScript.sln)
  • Build solution in Visual Studio

To run check-in tests

  • powershell "& .\RunTestsInBrowser.ps1" to run Tests.html in a browser (you might need to call Set-ExecutionPolicy to be able to execute the script)
  • Don't forget to build the solution after changing TypeScript files
  • Refresh Tests.html in the browser to re-run tests

Check out the Wiki for other useful info

https://github.com/Microsoft/ApplicationInsights-JS/wiki

Contributing

We strongly welcome and encourage contributions to this project. Please read the [contributor's guide][ContribGuide] located in the ApplicationInsights-Home repository. If making a large change we request that you open an [issue][GitHubIssue] first. We follow the [Git Flow][GitFlow] approach to branching.