From b258fd7ddf868ee670b94c000ce3ee97b7f42420 Mon Sep 17 00:00:00 2001 From: Yash Golani Date: Wed, 16 Oct 2024 18:58:05 +0530 Subject: [PATCH] TRACING-4435 upgraded to 4.6.1-1 --- .../demoApps/fixtures/angularjs.hash-first-batch.traces.json | 2 +- .../demoApps/fixtures/angularjs.hash-second-batch.traces.json | 2 +- .../fixtures/angularjs.historyapi-first-batch.traces.json | 2 +- .../fixtures/angularjs.historyapi-second-batch.traces.json | 2 +- e2e_test/demoApps/fixtures/react.hash-first-batch.traces.json | 2 +- .../demoApps/fixtures/react.hash-second-batch.traces.json | 2 +- .../fixtures/react.historyapi-first-batch.traces.json | 2 +- .../fixtures/react.historyapi-second-batch.traces.json | 2 +- e2e_test/demoApps/fixtures/vuejs.hash-first-batch.traces.json | 2 +- .../demoApps/fixtures/vuejs.hash-second-batch.traces.json | 2 +- .../fixtures/vuejs.historyapi-first-batch.traces.json | 2 +- .../fixtures/vuejs.historyapi-second-batch.traces.json | 2 +- e2e_test/demoApps/static/react/dist/babel.js | 2 +- e2e_test/loadScript/fixtures/api/recordError.logs.json | 4 ++-- .../loadScript/fixtures/api/setDefaultAttribute.traces.json | 2 +- e2e_test/loadScript/fixtures/errors.logs.json | 4 ++-- e2e_test/loadScript/fixtures/errors.traces.json | 2 +- e2e_test/loadScript/fixtures/load_async.traces.json | 2 +- e2e_test/loadScript/fixtures/load_legacy.traces.json | 2 +- e2e_test/loadScript/fixtures/load_sync.traces.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index.ts | 4 ++-- 23 files changed, 27 insertions(+), 27 deletions(-) diff --git a/e2e_test/demoApps/fixtures/angularjs.hash-first-batch.traces.json b/e2e_test/demoApps/fixtures/angularjs.hash-first-batch.traces.json index 74ba51c..e09e295 100644 --- a/e2e_test/demoApps/fixtures/angularjs.hash-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/angularjs.hash-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/angularjs.hash-second-batch.traces.json b/e2e_test/demoApps/fixtures/angularjs.hash-second-batch.traces.json index 846f7dd..f114c30 100644 --- a/e2e_test/demoApps/fixtures/angularjs.hash-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/angularjs.hash-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/angularjs.historyapi-first-batch.traces.json b/e2e_test/demoApps/fixtures/angularjs.historyapi-first-batch.traces.json index 549049b..1272243 100644 --- a/e2e_test/demoApps/fixtures/angularjs.historyapi-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/angularjs.historyapi-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/angularjs.historyapi-second-batch.traces.json b/e2e_test/demoApps/fixtures/angularjs.historyapi-second-batch.traces.json index 540b24c..ac6b0d2 100644 --- a/e2e_test/demoApps/fixtures/angularjs.historyapi-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/angularjs.historyapi-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/react.hash-first-batch.traces.json b/e2e_test/demoApps/fixtures/react.hash-first-batch.traces.json index 157af85..e0775ca 100644 --- a/e2e_test/demoApps/fixtures/react.hash-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/react.hash-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/react.hash-second-batch.traces.json b/e2e_test/demoApps/fixtures/react.hash-second-batch.traces.json index 575d18c..deaa6b0 100644 --- a/e2e_test/demoApps/fixtures/react.hash-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/react.hash-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/react.historyapi-first-batch.traces.json b/e2e_test/demoApps/fixtures/react.historyapi-first-batch.traces.json index d41bfe0..4645f7c 100644 --- a/e2e_test/demoApps/fixtures/react.historyapi-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/react.historyapi-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/react.historyapi-second-batch.traces.json b/e2e_test/demoApps/fixtures/react.historyapi-second-batch.traces.json index a7babc7..b1dd362 100644 --- a/e2e_test/demoApps/fixtures/react.historyapi-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/react.historyapi-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/vuejs.hash-first-batch.traces.json b/e2e_test/demoApps/fixtures/vuejs.hash-first-batch.traces.json index 11105c4..0915073 100644 --- a/e2e_test/demoApps/fixtures/vuejs.hash-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/vuejs.hash-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/vuejs.hash-second-batch.traces.json b/e2e_test/demoApps/fixtures/vuejs.hash-second-batch.traces.json index e679733..fe15c4c 100644 --- a/e2e_test/demoApps/fixtures/vuejs.hash-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/vuejs.hash-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/vuejs.historyapi-first-batch.traces.json b/e2e_test/demoApps/fixtures/vuejs.historyapi-first-batch.traces.json index e373903..90114e0 100644 --- a/e2e_test/demoApps/fixtures/vuejs.historyapi-first-batch.traces.json +++ b/e2e_test/demoApps/fixtures/vuejs.historyapi-first-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/fixtures/vuejs.historyapi-second-batch.traces.json b/e2e_test/demoApps/fixtures/vuejs.historyapi-second-batch.traces.json index a527e5b..bb3d2ba 100644 --- a/e2e_test/demoApps/fixtures/vuejs.historyapi-second-batch.traces.json +++ b/e2e_test/demoApps/fixtures/vuejs.historyapi-second-batch.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/demoApps/static/react/dist/babel.js b/e2e_test/demoApps/static/react/dist/babel.js index 195eb4e..cfa4e61 100644 --- a/e2e_test/demoApps/static/react/dist/babel.js +++ b/e2e_test/demoApps/static/react/dist/babel.js @@ -62467,7 +62467,7 @@ }, { name: "nodejs", - version: "4.6.0", + version: "4.6.1-1", date: "2016-09-27", lts: "Argon", security: true diff --git a/e2e_test/loadScript/fixtures/api/recordError.logs.json b/e2e_test/loadScript/fixtures/api/recordError.logs.json index 052c3dc..0fa94b9 100644 --- a/e2e_test/loadScript/fixtures/api/recordError.logs.json +++ b/e2e_test/loadScript/fixtures/api/recordError.logs.json @@ -12,7 +12,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { @@ -40,7 +40,7 @@ { "scope": { "name": "@sumologic/opentelemetry-rum", - "version": "4.6.0" + "version": "4.6.1-1" }, "logRecords": [ { diff --git a/e2e_test/loadScript/fixtures/api/setDefaultAttribute.traces.json b/e2e_test/loadScript/fixtures/api/setDefaultAttribute.traces.json index 12f72cd..99bac3a 100644 --- a/e2e_test/loadScript/fixtures/api/setDefaultAttribute.traces.json +++ b/e2e_test/loadScript/fixtures/api/setDefaultAttribute.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/loadScript/fixtures/errors.logs.json b/e2e_test/loadScript/fixtures/errors.logs.json index 8c7bf62..c2c1925 100644 --- a/e2e_test/loadScript/fixtures/errors.logs.json +++ b/e2e_test/loadScript/fixtures/errors.logs.json @@ -12,7 +12,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { @@ -40,7 +40,7 @@ { "scope": { "name": "@sumologic/opentelemetry-rum", - "version": "4.6.0" + "version": "4.6.1-1" }, "logRecords": [ { diff --git a/e2e_test/loadScript/fixtures/errors.traces.json b/e2e_test/loadScript/fixtures/errors.traces.json index 6807adb..f9a7329 100644 --- a/e2e_test/loadScript/fixtures/errors.traces.json +++ b/e2e_test/loadScript/fixtures/errors.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/loadScript/fixtures/load_async.traces.json b/e2e_test/loadScript/fixtures/load_async.traces.json index 599aa06..08ef50a 100644 --- a/e2e_test/loadScript/fixtures/load_async.traces.json +++ b/e2e_test/loadScript/fixtures/load_async.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/loadScript/fixtures/load_legacy.traces.json b/e2e_test/loadScript/fixtures/load_legacy.traces.json index f05f080..f2c9f99 100644 --- a/e2e_test/loadScript/fixtures/load_legacy.traces.json +++ b/e2e_test/loadScript/fixtures/load_legacy.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/e2e_test/loadScript/fixtures/load_sync.traces.json b/e2e_test/loadScript/fixtures/load_sync.traces.json index 05ab5be..61fa8f3 100644 --- a/e2e_test/loadScript/fixtures/load_sync.traces.json +++ b/e2e_test/loadScript/fixtures/load_sync.traces.json @@ -30,7 +30,7 @@ { "key": "sumologic.rum.version", "value": { - "stringValue": "4.6.0" + "stringValue": "4.6.1-1" } }, { diff --git a/package-lock.json b/package-lock.json index aa763b8..0ca0bbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@sumologic/opentelemetry-rum", - "version": "4.6.0", + "version": "4.6.1-1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2726,7 +2726,7 @@ } }, "co": { - "version": "4.6.0", + "version": "4.6.1-1", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true diff --git a/package.json b/package.json index c5bc6f8..87d25cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sumologic/opentelemetry-rum", - "version": "4.6.0", + "version": "4.6.1-1", "description": "Adds OpenTelemetry tracing auto-instrumentation in the browser. Collects spans on network events and sends them to Sumo Logic.", "main": "./dist/index.js", "types": "./dist/src/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 7fcdfb0..3ccac3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -255,12 +255,12 @@ export const initialize = ({ }, }), new XMLHttpRequestInstrumentation({ - enabled: false, + enabled: true, propagateTraceHeaderCorsUrls, ignoreUrls: [collectionSourceUrl, ...ignoreUrls], }), new FetchInstrumentation({ - enabled: false, + enabled: true, propagateTraceHeaderCorsUrls, ignoreUrls, }),