Enable data loss analyzer for session storage buffer
This commit is contained in:
Родитель
bfef348695
Коммит
a268cb3903
|
@ -90,12 +90,12 @@
|
|||
-->
|
||||
<SemanticVersionMajor>0</SemanticVersionMajor>
|
||||
<SemanticVersionMinor>22</SemanticVersionMinor>
|
||||
<SemanticVersionPatch>14</SemanticVersionPatch>
|
||||
<SemanticVersionPatch>15</SemanticVersionPatch>
|
||||
<!--
|
||||
Date when Semantic Version was changed.
|
||||
Update for every public release.
|
||||
-->
|
||||
<SemanticVersionDate>2016-05-17</SemanticVersionDate>
|
||||
<SemanticVersionDate>2016-05-23</SemanticVersionDate>
|
||||
<!--
|
||||
Pre-release version is used to distinguish internally built NuGet packages.
|
||||
Pre-release version = Minutes since semantic version was set, divided by 5 (to make it fit in a UInt16).
|
||||
|
|
|
@ -13,7 +13,7 @@ module Microsoft.ApplicationInsights {
|
|||
|
||||
"use strict";
|
||||
|
||||
export var Version = "0.22.14";
|
||||
export var Version = "0.22.15";
|
||||
|
||||
export interface IConfig {
|
||||
instrumentationKey: string;
|
||||
|
@ -104,10 +104,15 @@ module Microsoft.ApplicationInsights {
|
|||
}
|
||||
|
||||
// enable session storage buffer experiment
|
||||
this.config.enableSessionStorageBuffer = new SplitTest().isEnabled(this.config.instrumentationKey, 10); ;
|
||||
var enableExperiment = new SplitTest().isEnabled(this.config.instrumentationKey, 10);
|
||||
this.config.enableSessionStorageBuffer = enableExperiment;
|
||||
|
||||
this.context = new ApplicationInsights.TelemetryContext(configGetters);
|
||||
|
||||
DataLossAnalyzer.appInsights = this;
|
||||
DataLossAnalyzer.enabled = enableExperiment;
|
||||
DataLossAnalyzer.reportLostItems();
|
||||
|
||||
this._pageViewManager = new Microsoft.ApplicationInsights.Telemetry.PageViewManager(this, this.config.overridePageViewDuration);
|
||||
|
||||
// initialize event timing
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "applicationinsights-js",
|
||||
"main": "dist/ai.0.js",
|
||||
"version": "0.22.14",
|
||||
"version": "0.22.15",
|
||||
"homepage": "https://github.com/Microsoft/ApplicationInsights-JS",
|
||||
"authors": [
|
||||
"Max Shekhovtsov <mashekho@microsoft.com>"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "applicationinsights-js",
|
||||
"version": "0.22.14",
|
||||
"version": "0.22.15",
|
||||
"description": "[Application Insights](https://azure.microsoft.com/services/application-insights/) tells you about your app\u0027s 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.",
|
||||
"main": "dist/ai.0.js",
|
||||
"scripts": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче