Microsoft announces new features for Azure Application Insights JavaScript SDK

With Azure Application Insights, developers can monitor performance and usage of their apps. With a little snippet of JavaScript, they can get timings of page loads and AJAX calls, counts and details of browser exceptions and AJAX failures, as well as users and session counts. All these can be segmented by page, client OS and browser version, geo location, and other dimensions. Microsoft yesterday announced three new features and other improvements for its Azure Application Insights JavaScript SDK.

  • Add snippet.js to NPM package: Snippet.js is a file used for those who want to use application insights from a separate file instead of using inline JavaScript using a Gulp pipeline. By RehanSaeed. Thanks Muhammed Rehan!
  • Option to disable cookies: This was an ask from some of our users. Now you can disable cookies, but some features will be lost. Without cookies every page view will count as a new user and session. For more configuration options please see our Application Insights SDK JavaScript API
  • Enable dependency correlation headers: These are now turned off by default, but you can enable them manually. To correlate dependencies with server request set disableCorrelationHeaders in your config file to false. If you opt in to this feature you will then be able to see the server request that correlate with your client side AJAX calls.

They now use https to send all telemetry and to download the library. Also, for all secure sites the SDK will create cookies with a secure flag.

Learn more about these improvements here.

Some links in the article may not be viewable as you are using an AdBlocker. Please add us to your whitelist to enable the website to function properly.

Related
Comments