You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
28
+
constremoveDuplicateEvents={
29
+
isStorageUseDisabled: true,
30
+
namePrefix: applicationName,
31
+
};
32
+
33
+
// According to https://github.com/microsoft/ApplicationInsights-JS/issues/2655#issuecomment-3423857757 this might be the way to disable dependency events
34
+
constdisableDependencyEvents={
35
+
disableAjaxTracking: true,
36
+
disableFetchTracking: true,
37
+
};
38
+
27
39
this.client=newApplicationInsights({
28
40
config: {
29
41
instrumentationKey: this.INSTRUMENTATION_KEY,
30
42
accountId,// to hide with removeAllMetadata
31
-
isStorageUseDisabled: true,// fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
32
-
namePrefix: applicationName,// fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
0 commit comments