From d5005b1fe76fd47c952883b888ef4ca0225b6e38 Mon Sep 17 00:00:00 2001 From: Rodri Sanchez Date: Fri, 8 Jul 2022 22:02:31 -0300 Subject: [PATCH 1/2] Exclude domains from correlation header --- src/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ffeafcfff..02a34708d 100644 --- a/src/index.js +++ b/src/index.js @@ -27,7 +27,15 @@ if (AZURE_INST_KEY) { loggingLevelTelemetry: 2, enableCorsCorrelation: true, enableRequestHeaderTracking: true, - enableResponseHeaderTracking: true + enableResponseHeaderTracking: true, + correlationHeaderExcludedDomains: [ + '*.google-analytics.com', + '*.globalsymbols.com', + '*.api.arasaac.org', + '*.stats.g.doubleclick.net', + '*.pagead2.googlesyndication.com', + '*.eastus.tts.speech.microsoft.com' + ] } }); appInsights.loadAppInsights(); From 5f241a67880f2aa57333dd815459ef2caafd538d Mon Sep 17 00:00:00 2001 From: Rodri Sanchez Date: Mon, 11 Jul 2022 22:15:03 -0300 Subject: [PATCH 2/2] Change urls for exclude domain --- src/index.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index 02a34708d..10a16e0c6 100644 --- a/src/index.js +++ b/src/index.js @@ -30,11 +30,13 @@ if (AZURE_INST_KEY) { enableResponseHeaderTracking: true, correlationHeaderExcludedDomains: [ '*.google-analytics.com', - '*.globalsymbols.com', - '*.api.arasaac.org', - '*.stats.g.doubleclick.net', - '*.pagead2.googlesyndication.com', - '*.eastus.tts.speech.microsoft.com' + 'globalsymbols.com', + '*.arasaac.org', + 'mulberrysymbols.org', + 'madaportal.org', + '*.doubleclick.net', + 'pagead2.googlesyndication.com', + 'eastus.tts.speech.microsoft.com' ] } });