github microsoft/ApplicationInsights-JS 2.5.1

latest releases: 3.2.0, nightly-240412-01, nightly-240410-01...
4 years ago

2.5.1

Changelog

  • #1210 [BUG] Typescript error when using @microsoft/applicationinsights-web 2.5.0 and "noImplicitAny"/"strict" option
  • #1207 [BUG] The latest version 2.4.4 cannot connect front-end with back-end on the Application Map on Application Insights

2.5.0

Changelog

  • #1204 When a fetch polyfill is installed there reporting endpoint is also causing events to be sent
  • #1202 ai_user and ai_session cookies not set #1203
  • #1201 add to auto track exceptions in react native plugin
  • #1199 Build is breaking when you do a "rush update --full --purge --recheck" due to tslib v1.11.0 update
  • #1194 XHR/Fetch enhancement - add additional telemetry from window.performance #1195
  • #1193 add sanitizer for operationName
  • #1189 Add the option to specify the refUri with stopTrackPage #1190
  • #1186 App Insights initialization setting 'enableAjaxErrorStatusText' is not working #1187

XHR/Fetch enhancement

Adds additional performance data derived from the window.performance.getEntries() for the fetch or XHR request.

Configuration options

Name Default Description
enableAjaxPerfTracking false Default false. Flag to enable looking up and including additional browser window.performance timings in the reported ajax (XHR and fetch) reported metrics.
maxAjaxPerfLookupAttempts 3 Defaults to 3. The maximum number of times to look for the window.performance timings (if available), this is required as not all browsers populate the window.performance before reporting the end of the XHR request and for fetch requests this is added after its complete.
ajaxPerfLookupDelay 25 Defaults to 25ms. The amount of time to wait before re-attempting to find the windows.performance timings for an ajax request, time is in milliseconds and is passed directly to setTimeout().

Auto track exception React Native Plugin

This has been enabled by default in the updated version.
It can be disabled by adding the disableExceptionCollection config value with a value of true.

Don't miss a new ApplicationInsights-JS release

NewReleases is sending notifications on new releases.