From 823c6538d0648e933ed9a15ac7ef7a08253c508c Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Sat, 24 Feb 2024 09:08:54 +0000 Subject: [PATCH] Update OpenTelemetry dependencies --- CommonUI/package-lock.json | 60 +++----------------------------------- CommonUI/package.json | 4 ++- 2 files changed, 7 insertions(+), 57 deletions(-) diff --git a/CommonUI/package-lock.json b/CommonUI/package-lock.json index a0768ee4c12..05dedaab62d 100644 --- a/CommonUI/package-lock.json +++ b/CommonUI/package-lock.json @@ -11,9 +11,11 @@ "dependencies": { "@monaco-editor/react": "^4.4.6", "@opentelemetry/api": "^1.7.0", - "@opentelemetry/auto-instrumentations-web": "^0.36.0", "@opentelemetry/context-zone": "^1.21.0", "@opentelemetry/exporter-trace-otlp-http": "^0.48.0", + "@opentelemetry/instrumentation": "^0.48.0", + "@opentelemetry/instrumentation-fetch": "^0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "^0.48.0", "@opentelemetry/resources": "^1.21.0", "@opentelemetry/sdk-trace-web": "^1.21.0", "@opentelemetry/semantic-conventions": "^1.21.0", @@ -76,7 +78,7 @@ "json5": "^2.2.3", "moment": "^2.30.1", "moment-timezone": "^0.5.44", - "posthog-js": "^1.103.1", + "posthog-js": "^1.104.4", "reflect-metadata": "^0.2.1", "slugify": "^1.6.5", "typeorm": "^0.3.20", @@ -1307,25 +1309,6 @@ "node": ">=14" } }, - "node_modules/@opentelemetry/auto-instrumentations-web": { - "version": "0.36.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/auto-instrumentations-web/-/auto-instrumentations-web-0.36.0.tgz", - "integrity": "sha512-OwUmX3XBaky93dnFGiFg23H9Nwp1ofkigUXzI1iTDEDCMJDX3HeBx0M83YoZUPFA1lRK6vajMy+sdVdE+IkO+A==", - "dependencies": { - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/instrumentation-document-load": "^0.35.0", - "@opentelemetry/instrumentation-fetch": "^0.48.0", - "@opentelemetry/instrumentation-user-interaction": "^0.35.0", - "@opentelemetry/instrumentation-xml-http-request": "^0.48.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0", - "zone.js": "0.11.4" - } - }, "node_modules/@opentelemetry/context-zone": { "version": "1.21.0", "resolved": "https://registry.npmjs.org/@opentelemetry/context-zone/-/context-zone-1.21.0.tgz", @@ -1400,24 +1383,6 @@ "@opentelemetry/api": "^1.3.0" } }, - "node_modules/@opentelemetry/instrumentation-document-load": { - "version": "0.35.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-document-load/-/instrumentation-document-load-0.35.0.tgz", - "integrity": "sha512-U3zQBjbAF0rm7GT7YJ8DPqgiCdBoshmld4c1pZe3tAGAMa5QPIjonIfSMSvJ2XMh6Nvi+8Rfe3XFCe0cuWIjsQ==", - "dependencies": { - "@opentelemetry/core": "^1.8.0", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/sdk-trace-base": "^1.0.0", - "@opentelemetry/sdk-trace-web": "^1.15.0", - "@opentelemetry/semantic-conventions": "^1.0.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, "node_modules/@opentelemetry/instrumentation-fetch": { "version": "0.48.0", "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-fetch/-/instrumentation-fetch-0.48.0.tgz", @@ -1435,23 +1400,6 @@ "@opentelemetry/api": "^1.0.0" } }, - "node_modules/@opentelemetry/instrumentation-user-interaction": { - "version": "0.35.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-user-interaction/-/instrumentation-user-interaction-0.35.0.tgz", - "integrity": "sha512-d66rqb24onIEnFNxXorCEzj+5tYBJKM/6StRl+SKXfRDXRT+nBj5EGdBUNgk+jiGQ0M/RymZHHHXSguTV2F1fA==", - "dependencies": { - "@opentelemetry/core": "^1.8.0", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/sdk-trace-web": "^1.8.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0", - "zone.js": "0.11.4" - } - }, "node_modules/@opentelemetry/instrumentation-xml-http-request": { "version": "0.48.0", "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-xml-http-request/-/instrumentation-xml-http-request-0.48.0.tgz", diff --git a/CommonUI/package.json b/CommonUI/package.json index 3523985f82d..3dfab9e9dfb 100644 --- a/CommonUI/package.json +++ b/CommonUI/package.json @@ -16,9 +16,11 @@ "dependencies": { "@monaco-editor/react": "^4.4.6", "@opentelemetry/api": "^1.7.0", - "@opentelemetry/auto-instrumentations-web": "^0.36.0", "@opentelemetry/context-zone": "^1.21.0", "@opentelemetry/exporter-trace-otlp-http": "^0.48.0", + "@opentelemetry/instrumentation": "^0.48.0", + "@opentelemetry/instrumentation-fetch": "^0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "^0.48.0", "@opentelemetry/resources": "^1.21.0", "@opentelemetry/sdk-trace-web": "^1.21.0", "@opentelemetry/semantic-conventions": "^1.21.0",