diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3c519e632e4..5905b86141b 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -16,7 +16,7 @@ jobs: cache: 'npm' cache-dependency-path: | package-lock.json - node-version: '18' + node-version: '20' - name: Install and Build 🔧 run: | @@ -29,8 +29,10 @@ jobs: NODE_OPTIONS: --max-old-space-size=6144 - name: Deploy Documentation 🚀 - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@releases/v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: docs # The folder the action should deploy. + branch: gh-pages # The branch the action should deploy to. + folder: docs # The folder the action should deploy. + # ensure we don't override benchmark data + clean-exclude: | + benchmarks/** diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a0bcc4b3a6..0aa44839eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,25 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :boom: Breaking Change -* fix(otlp-exporter-base)!: decrease default concurrency limit to 30 [#4211](https://github.com/open-telemetry/opentelemetry-js/pull/4211) @pichlermarc - * fixes a memory leak on prolonged collector unavailability - * this change is marked as breaking as it changes defaults - ### :rocket: (Enhancement) +* perf(otlp-transformer): skip unnecessary base64 encode of span contexts [#4343](https://github.com/open-telemetry/opentelemetry-js/pull/4343) @seemk +* feat(sdk-trace-base): improve log messages when dropping span events [#4223](https://github.com/open-telemetry/opentelemetry-js/pull/4223) @mkubliniak + +### :bug: (Bug Fix) + ### :books: (Refine Doc) ### :house: (Internal) +## 1.19.0 + +### :rocket: (Enhancement) + +* feat: add node 20 support [#4336](https://github.com/open-telemetry/opentelemetry-js/pull/4336) @dyladan + +### :house: (Internal) + * chore: type reference on zone.js [#4257](https://github.com/open-telemetry/opentelemetry-js/pull/4257) @legendecas * chore: no need for 'packages' in lerna.json [#4264](https://github.com/open-telemetry/opentelemetry-js/pull/4264) @trentm * test: add node 20 to test matrix [#4336](https://github.com/open-telemetry/opentelemetry-js/pull/4336) @dyladan diff --git a/api/package.json b/api/package.json index 0afa1e0e549..4673acbf9ec 100644 --- a/api/package.json +++ b/api/package.json @@ -69,7 +69,7 @@ "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", - "@types/webpack": "4.41.38", + "@types/webpack": "5.28.5", "@types/webpack-env": "1.16.3", "babel-plugin-istanbul": "6.1.1", "codecov": "3.8.3", diff --git a/examples/esm-http-ts/package.json b/examples/esm-http-ts/package.json index 12897fa6a72..4e4d2f4b8ec 100644 --- a/examples/esm-http-ts/package.json +++ b/examples/esm-http-ts/package.json @@ -1,7 +1,7 @@ { "name": "esm-http-ts", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of HTTP integration with OpenTelemetry using ESM and TypeScript", "main": "build/index.js", "type": "module", @@ -31,12 +31,12 @@ "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/", "dependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" } } diff --git a/examples/http/package.json b/examples/http/package.json index 06899fd23a6..e86a1f8b983 100644 --- a/examples/http/package.json +++ b/examples/http/package.json @@ -1,7 +1,7 @@ { "name": "http-example", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of HTTP integration with OpenTelemetry", "main": "index.js", "scripts": { @@ -29,14 +29,14 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/http", "devDependencies": { diff --git a/examples/https/package.json b/examples/https/package.json index cebf2cc00c9..e7461f85973 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -1,7 +1,7 @@ { "name": "https-example", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of HTTPs integration with OpenTelemetry", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -33,14 +33,14 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/https", "devDependencies": { diff --git a/examples/opentelemetry-web/package.json b/examples/opentelemetry-web/package.json index b9a735ebab0..c2afb979fa1 100644 --- a/examples/opentelemetry-web/package.json +++ b/examples/opentelemetry-web/package.json @@ -1,7 +1,7 @@ { "name": "web-opentelemetry-example", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of using @opentelemetry/sdk-trace-web and @opentelemetry/sdk-metrics in browser", "main": "index.js", "scripts": { @@ -43,20 +43,20 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/tracer-web" } diff --git a/examples/otlp-exporter-node/package.json b/examples/otlp-exporter-node/package.json index 57a8a72cd04..e4ba3eb0baf 100644 --- a/examples/otlp-exporter-node/package.json +++ b/examples/otlp-exporter-node/package.json @@ -1,7 +1,7 @@ { "name": "example-otlp-exporter-node", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of using @opentelemetry/collector-exporter in Node.js", "main": "index.js", "scripts": { @@ -29,17 +29,17 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-proto": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/otlp-exporter-node" } diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 5b89afc484b..632a033896f 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -6,9 +6,26 @@ All notable changes to experimental packages in this project will be documented ### :boom: Breaking Change -* fix(exporter-metrics-otlp-grpc): programatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati -* fix(exporter-metrics-otlp-http): programatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati -* fix(exporter-metrics-otlp-proto): programatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati +### :rocket: (Enhancement) + +### :bug: (Bug Fix) + +fix(instrumentation): use caret range on import-in-the-middle [#4380](https://github.com/open-telemetry/opentelemetry-js/pull/4380) @pichlermarc + +### :books: (Refine Doc) + +### :house: (Internal) + +## 0.46.0 + +### :boom: Breaking Change + +* fix(exporter-metrics-otlp-grpc): programmatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati +* fix(exporter-metrics-otlp-http): programmatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati +* fix(exporter-metrics-otlp-proto): programmatic headers take precedence over environment variables [#2370](https://github.com/open-telemetry/opentelemetry-js/pull/4334) @Vunovati +* fix(otlp-exporter-base)!: decrease default concurrency limit to 30 [#4211](https://github.com/open-telemetry/opentelemetry-js/pull/4211) @pichlermarc + * fixes a memory leak on prolonged collector unavailability + * this change is marked as breaking as it changes defaults ### :rocket: (Enhancement) @@ -17,11 +34,13 @@ All notable changes to experimental packages in this project will be documented ### :bug: (Bug Fix) +* fix(sdk-logs): await async resources in log processors * fix(sdk-logs): avoid map attribute set when count limit exceeded * fix(instrumentation-fetch): only access navigator if it is defined [#4063](https://github.com/open-telemetry/opentelemetry-js/pull/4063) * allows for experimental usage of this instrumentation with non-browser runtimes * fix(instrumentation-http): memory leak when responses are not resumed * fix(instrumentation-http): Do not mutate given headers object for outgoing http requests. Fixes aws-sdk signing error on retries. [#4346](https://github.com/open-telemetry/opentelemetry-js/pull/4346) +* fix(instrumentation): support Node.js v18.19.0 by using import-in-the-middle@1.6.0 ## 0.45.1 diff --git a/experimental/backwards-compatibility/node14/package.json b/experimental/backwards-compatibility/node14/package.json index acf9ca85cde..5bad7609f71 100644 --- a/experimental/backwards-compatibility/node14/package.json +++ b/experimental/backwards-compatibility/node14/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node14", - "version": "0.45.1", + "version": "0.46.0", "private": true, "description": "Backwards compatibility app for node 14 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@types/node": "14.18.25", diff --git a/experimental/backwards-compatibility/node16/package.json b/experimental/backwards-compatibility/node16/package.json index 932dcfacae7..83a6cfb120c 100644 --- a/experimental/backwards-compatibility/node16/package.json +++ b/experimental/backwards-compatibility/node16/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node16", - "version": "0.45.1", + "version": "0.46.0", "private": true, "description": "Backwards compatibility app for node 16 types and the OpenTelemetry Node.js SDK", "main": "index.js", @@ -9,8 +9,8 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" }, "dependencies": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@types/node": "16.11.52", diff --git a/experimental/examples/logs/package.json b/experimental/examples/logs/package.json index 705a987dbaf..26861a03ec7 100644 --- a/experimental/examples/logs/package.json +++ b/experimental/examples/logs/package.json @@ -1,14 +1,14 @@ { "name": "logs-example", - "version": "0.45.1", + "version": "0.46.0", "private": true, "scripts": { "start": "ts-node index.ts" }, "dependencies": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" }, "devDependencies": { "@types/node": "18.6.5", diff --git a/experimental/examples/opencensus-shim/package.json b/experimental/examples/opencensus-shim/package.json index 79570efc75b..e568557f6ec 100644 --- a/experimental/examples/opencensus-shim/package.json +++ b/experimental/examples/opencensus-shim/package.json @@ -1,7 +1,7 @@ { "name": "opencensus-shim", "private": true, - "version": "0.45.1", + "version": "0.46.0", "description": "Example of using @opentelemetry/shim-opencensus in Node.js", "main": "index.js", "scripts": { @@ -31,13 +31,13 @@ "@opencensus/instrumentation-http": "0.1.0", "@opencensus/nodejs-base": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", - "@opentelemetry/shim-opencensus": "0.45.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", + "@opentelemetry/shim-opencensus": "0.46.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/examples/opencensus-shim" } diff --git a/experimental/examples/prometheus/package.json b/experimental/examples/prometheus/package.json index c5d1c2a1bd8..f803cbef4cc 100644 --- a/experimental/examples/prometheus/package.json +++ b/experimental/examples/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "prometheus-example", - "version": "0.45.1", + "version": "0.46.0", "private": true, "description": "Example of using @opentelemetry/sdk-metrics and @opentelemetry/exporter-prometheus", "main": "index.js", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0" } } diff --git a/experimental/packages/api-events/package.json b/experimental/packages/api-events/package.json index ec17802886a..0c3753cf08f 100644 --- a/experimental/packages/api-events/package.json +++ b/experimental/packages/api-events/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/api-events", - "version": "0.45.1", + "version": "0.46.0", "description": "Public events API for OpenTelemetry", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/experimental/packages/api-logs/package.json b/experimental/packages/api-logs/package.json index 889e0cf6a5a..39c19a62e3b 100644 --- a/experimental/packages/api-logs/package.json +++ b/experimental/packages/api-logs/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/api-logs", - "version": "0.45.1", + "version": "0.46.0", "description": "Public logs API for OpenTelemetry", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/experimental/packages/exporter-logs-otlp-grpc/package.json b/experimental/packages/exporter-logs-otlp-grpc/package.json index 98cb178ea61..fa242b11c72 100644 --- a/experimental/packages/exporter-logs-otlp-grpc/package.json +++ b/experimental/packages/exporter-logs-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-logs-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Exporter allows user to send collected log records to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -51,9 +51,9 @@ "@babel/core": "7.23.6", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -73,10 +73,10 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-logs-otlp-grpc", "sideEffects": false diff --git a/experimental/packages/exporter-logs-otlp-http/package.json b/experimental/packages/exporter-logs-otlp-http/package.json index 8131d93dc78..139994c9452 100644 --- a/experimental/packages/exporter-logs-otlp-http/package.json +++ b/experimental/packages/exporter-logs-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-logs-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "publishConfig": { "access": "public" }, @@ -73,7 +73,7 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -104,10 +104,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" } } diff --git a/experimental/packages/exporter-logs-otlp-proto/package.json b/experimental/packages/exporter-logs-otlp-proto/package.json index 6f6718cbb79..94188633d58 100644 --- a/experimental/packages/exporter-logs-otlp-proto/package.json +++ b/experimental/packages/exporter-logs-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-logs-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "description": "An OTLP exporter to send logs using protobuf over HTTP", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -93,14 +93,14 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-logs-otlp-proto", "sideEffects": false diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index 657ba79de46..a58ef0555aa 100644 --- a/experimental/packages/exporter-trace-otlp-grpc/package.json +++ b/experimental/packages/exporter-trace-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -50,7 +50,7 @@ "@babel/core": "7.23.6", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/otlp-exporter-base": "0.46.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -70,11 +70,11 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-grpc", "sideEffects": false diff --git a/experimental/packages/exporter-trace-otlp-http/package.json b/experimental/packages/exporter-trace-otlp-http/package.json index a146e60ecd8..f03cc6d50ff 100644 --- a/experimental/packages/exporter-trace-otlp-http/package.json +++ b/experimental/packages/exporter-trace-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Trace Exporter allows user to send collected traces to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -95,11 +95,11 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-http", "sideEffects": false diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 65c4add50cf..d6e9f6a64b0 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-trace-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -92,12 +92,12 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto", "sideEffects": false diff --git a/experimental/packages/opentelemetry-browser-detector/package.json b/experimental/packages/opentelemetry-browser-detector/package.json index ada6401c1ac..7b5c9d62132 100644 --- a/experimental/packages/opentelemetry-browser-detector/package.json +++ b/experimental/packages/opentelemetry-browser-detector/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/opentelemetry-browser-detector", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Resource Detector for Browser", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -82,8 +82,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/browser-detector" } diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json index e8735d5e65d..194917ab28d 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -69,12 +69,12 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json index 092e64f9950..1d9ebb66056 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -95,11 +95,11 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-http", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index 97d886d9724..1c34a10bd14 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-metrics-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Collector Metrics Exporter allows user to send collected metrics to the OpenTelemetry Collector using protobuf over HTTP", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -75,13 +75,13 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-prometheus/package.json b/experimental/packages/opentelemetry-exporter-prometheus/package.json index f3fa87fb799..ad1b05a3b3c 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/package.json +++ b/experimental/packages/opentelemetry-exporter-prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-prometheus", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -44,7 +44,7 @@ }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -61,9 +61,9 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index d00b52e5801..60b3773126e 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/package.json +++ b/experimental/packages/opentelemetry-instrumentation-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-fetch", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry fetch automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -88,10 +88,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index 2d68f923f7d..590b30ac6be 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/package.json +++ b/experimental/packages/opentelemetry-instrumentation-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-grpc", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry grpc automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -50,10 +50,10 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", "@protobuf-ts/grpc-transport": "2.9.3", "@protobuf-ts/runtime": "2.9.3", "@protobuf-ts/runtime-rpc": "2.9.3", @@ -75,8 +75,8 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-grpc", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation-http/package.json b/experimental/packages/opentelemetry-instrumentation-http/package.json index b10fdba7a33..bc701745476 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/package.json +++ b/experimental/packages/opentelemetry-instrumentation-http/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-http", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry http/https automatic instrumentation package.", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,10 +46,10 @@ }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.21", @@ -74,9 +74,9 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/semantic-conventions": "1.19.0", "semver": "^7.5.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http", diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json index 64777635d7e..f69d14f359e 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-xml-http-request", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry XMLHttpRequest automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -56,9 +56,9 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -88,10 +88,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request", "sideEffects": false diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index 59a598d24b7..8494784ddc4 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation", - "version": "0.45.1", + "version": "0.46.0", "description": "Base class for node which OpenTelemetry instrumentation modules extend", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation", @@ -72,20 +72,20 @@ }, "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.6.0", + "import-in-the-middle": "^1.7.2", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/api-logs": "^0.45.1" + "@opentelemetry/api-logs": "^0.46.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index 0162843aa34..4c98ed57d82 100644 --- a/experimental/packages/opentelemetry-sdk-node/package.json +++ b/experimental/packages/opentelemetry-sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-node", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry SDK for Node.js", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -44,27 +44,27 @@ "access": "public" }, "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.8.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/exporter-jaeger": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/exporter-jaeger": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", diff --git a/experimental/packages/otlp-exporter-base/package.json b/experimental/packages/otlp-exporter-base/package.json index 37fcd5ffe4c..9ae5c0673d1 100644 --- a/experimental/packages/otlp-exporter-base/package.json +++ b/experimental/packages/otlp-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry OTLP Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -61,7 +61,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", diff --git a/experimental/packages/otlp-grpc-exporter-base/package.json b/experimental/packages/otlp-grpc-exporter-base/package.json index 280b1a1c969..07c0f786947 100644 --- a/experimental/packages/otlp-grpc-exporter-base/package.json +++ b/experimental/packages/otlp-grpc-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-grpc-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry OTLP-gRPC Exporter base (for internal use only)", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -50,9 +50,9 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -73,8 +73,8 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", "protobufjs": "^7.2.3" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-grpc-exporter-base", diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index 416704d685d..3f9874142ec 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/otlp-proto-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenTelemetry OTLP-HTTP-protobuf Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -79,8 +79,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", "protobufjs": "^7.2.3" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-proto-exporter-base", diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index dfece71a302..59e8806eba1 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "0.45.1", + "version": "0.46.0", "description": "Transform OpenTelemetry SDK data into OTLP", "module": "build/esm/index.js", "esnext": "build/esnext/index.js", @@ -79,12 +79,12 @@ "webpack": "5.89.0" }, "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer", "sideEffects": false diff --git a/experimental/packages/otlp-transformer/src/common/index.ts b/experimental/packages/otlp-transformer/src/common/index.ts index c759fafc4b0..00dcccfb059 100644 --- a/experimental/packages/otlp-transformer/src/common/index.ts +++ b/experimental/packages/otlp-transformer/src/common/index.ts @@ -16,7 +16,7 @@ import type { OtlpEncodingOptions, Fixed64, LongBits } from './types'; import { HrTime } from '@opentelemetry/api'; -import { hexToBase64, hrTimeToNanoseconds } from '@opentelemetry/core'; +import { hexToBinary, hrTimeToNanoseconds } from '@opentelemetry/core'; const NANOSECONDS = BigInt(1_000_000_000); @@ -44,10 +44,12 @@ const encodeTimestamp = typeof BigInt !== 'undefined' ? encodeAsString : hrTimeToNanoseconds; export type HrTimeEncodeFunction = (hrTime: HrTime) => Fixed64; -export type SpanContextEncodeFunction = (spanContext: string) => string; +export type SpanContextEncodeFunction = ( + spanContext: string +) => string | Uint8Array; export type OptionalSpanContextEncodeFunction = ( spanContext: string | undefined -) => string | undefined; +) => string | Uint8Array | undefined; export interface Encoder { encodeHrTime: HrTimeEncodeFunction; @@ -59,15 +61,15 @@ function identity(value: T): T { return value; } -function optionalHexToBase64(str: string | undefined): string | undefined { +function optionalHexToBinary(str: string | undefined): Uint8Array | undefined { if (str === undefined) return undefined; - return hexToBase64(str); + return hexToBinary(str); } const DEFAULT_ENCODER: Encoder = { encodeHrTime: encodeAsLongBits, - encodeSpanContext: hexToBase64, - encodeOptionalSpanContext: optionalHexToBase64, + encodeSpanContext: hexToBinary, + encodeOptionalSpanContext: optionalHexToBinary, }; export function getOtlpEncoder(options?: OtlpEncodingOptions): Encoder { @@ -79,7 +81,7 @@ export function getOtlpEncoder(options?: OtlpEncodingOptions): Encoder { const useHex = options.useHex ?? false; return { encodeHrTime: useLongBits ? encodeAsLongBits : encodeTimestamp, - encodeSpanContext: useHex ? identity : hexToBase64, - encodeOptionalSpanContext: useHex ? identity : optionalHexToBase64, + encodeSpanContext: useHex ? identity : hexToBinary, + encodeOptionalSpanContext: useHex ? identity : optionalHexToBinary, }; } diff --git a/experimental/packages/otlp-transformer/src/logs/types.ts b/experimental/packages/otlp-transformer/src/logs/types.ts index 2af77ad7c8f..57c5422cbb4 100644 --- a/experimental/packages/otlp-transformer/src/logs/types.ts +++ b/experimental/packages/otlp-transformer/src/logs/types.ts @@ -92,10 +92,10 @@ export interface ILogRecord { flags?: number; /** LogRecord traceId */ - traceId?: string; + traceId?: string | Uint8Array; /** LogRecord spanId */ - spanId?: string; + spanId?: string | Uint8Array; } /** diff --git a/experimental/packages/otlp-transformer/src/metrics/types.ts b/experimental/packages/otlp-transformer/src/metrics/types.ts index 96a3dda798f..208c6aa6782 100644 --- a/experimental/packages/otlp-transformer/src/metrics/types.ts +++ b/experimental/packages/otlp-transformer/src/metrics/types.ts @@ -287,10 +287,10 @@ export interface IExemplar { asInt?: number; /** Exemplar spanId */ - spanId?: string; + spanId?: string | Uint8Array; /** Exemplar traceId */ - traceId?: string; + traceId?: string | Uint8Array; } /** diff --git a/experimental/packages/otlp-transformer/src/trace/types.ts b/experimental/packages/otlp-transformer/src/trace/types.ts index b9618dd75ff..d32c85eb5a5 100644 --- a/experimental/packages/otlp-transformer/src/trace/types.ts +++ b/experimental/packages/otlp-transformer/src/trace/types.ts @@ -63,16 +63,16 @@ export interface IScopeSpans { /** Properties of a Span. */ export interface ISpan { /** Span traceId */ - traceId: string; + traceId: string | Uint8Array; /** Span spanId */ - spanId: string; + spanId: string | Uint8Array; /** Span traceState */ traceState?: string | null; /** Span parentSpanId */ - parentSpanId?: string; + parentSpanId?: string | Uint8Array; /** Span name */ name: string; @@ -181,10 +181,10 @@ export interface IEvent { /** Properties of a Link. */ export interface ILink { /** Link traceId */ - traceId: string; + traceId: string | Uint8Array; /** Link spanId */ - spanId: string; + spanId: string | Uint8Array; /** Link traceState */ traceState?: string; diff --git a/experimental/packages/otlp-transformer/test/common.test.ts b/experimental/packages/otlp-transformer/test/common.test.ts index d31267406c3..1925ee1283f 100644 --- a/experimental/packages/otlp-transformer/test/common.test.ts +++ b/experimental/packages/otlp-transformer/test/common.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { hexToBase64 } from '@opentelemetry/core'; +import { hexToBinary } from '@opentelemetry/core'; import { getOtlpEncoder } from '../src'; import { toAnyValue } from '../src/common/internal'; import * as assert from 'assert'; @@ -70,7 +70,7 @@ describe('common', () => { }); describe('otlp encoder', () => { - it('defaults to long timestamps and base64 encoding given no options', () => { + it('defaults to long timestamps and binary encoding given no options', () => { const encoder = getOtlpEncoder(); assert.deepStrictEqual(encoder.encodeHrTime([1697978649, 99870675]), { low: 3352011219, @@ -78,11 +78,11 @@ describe('common', () => { }); assert.deepStrictEqual( encoder.encodeSpanContext(traceId), - hexToBase64(traceId) + hexToBinary(traceId) ); assert.deepStrictEqual( encoder.encodeOptionalSpanContext(spanId), - hexToBase64(spanId) + hexToBinary(spanId) ); assert.deepStrictEqual( encoder.encodeOptionalSpanContext(undefined), @@ -98,11 +98,11 @@ describe('common', () => { }); assert.deepStrictEqual( encoder.encodeSpanContext(traceId), - hexToBase64(traceId) + hexToBinary(traceId) ); assert.deepStrictEqual( encoder.encodeOptionalSpanContext(spanId), - hexToBase64(spanId) + hexToBinary(spanId) ); assert.deepStrictEqual( encoder.encodeOptionalSpanContext(undefined), diff --git a/experimental/packages/otlp-transformer/test/logs.test.ts b/experimental/packages/otlp-transformer/test/logs.test.ts index 18dfbdabe4e..ea8dd7e82bb 100644 --- a/experimental/packages/otlp-transformer/test/logs.test.ts +++ b/experimental/packages/otlp-transformer/test/logs.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ import { HrTime, TraceFlags } from '@opentelemetry/api'; -import { InstrumentationScope, hexToBase64 } from '@opentelemetry/core'; +import { InstrumentationScope, hexToBinary } from '@opentelemetry/core'; import { Resource } from '@opentelemetry/resources'; import * as assert from 'assert'; import { @@ -28,8 +28,8 @@ import { SeverityNumber } from '@opentelemetry/api-logs'; function createExpectedLogJson(useHex: boolean): IExportLogsServiceRequest { const traceId = useHex ? '00000000000000000000000000000001' - : hexToBase64('00000000000000000000000000000001'); - const spanId = useHex ? '0000000000000002' : hexToBase64('0000000000000002'); + : hexToBinary('00000000000000000000000000000001'); + const spanId = useHex ? '0000000000000002' : hexToBinary('0000000000000002'); return { resourceLogs: [ diff --git a/experimental/packages/otlp-transformer/test/trace.test.ts b/experimental/packages/otlp-transformer/test/trace.test.ts index 1eb786b30f5..65b23ddc2dd 100644 --- a/experimental/packages/otlp-transformer/test/trace.test.ts +++ b/experimental/packages/otlp-transformer/test/trace.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ import { SpanKind, SpanStatusCode, TraceFlags } from '@opentelemetry/api'; -import { TraceState, hexToBase64 } from '@opentelemetry/core'; +import { TraceState, hexToBinary } from '@opentelemetry/core'; import { Resource } from '@opentelemetry/resources'; import { ReadableSpan } from '@opentelemetry/sdk-trace-base'; import * as assert from 'assert'; @@ -41,17 +41,17 @@ function createExpectedSpanJson(options: OtlpEncodingOptions) { const traceId = useHex ? '00000000000000000000000000000001' - : hexToBase64('00000000000000000000000000000001'); - const spanId = useHex ? '0000000000000002' : hexToBase64('0000000000000002'); + : hexToBinary('00000000000000000000000000000001'); + const spanId = useHex ? '0000000000000002' : hexToBinary('0000000000000002'); const parentSpanId = useHex ? '0000000000000001' - : hexToBase64('0000000000000001'); + : hexToBinary('0000000000000001'); const linkSpanId = useHex ? '0000000000000003' - : hexToBase64('0000000000000003'); + : hexToBinary('0000000000000003'); const linkTraceId = useHex ? '00000000000000000000000000000002' - : hexToBase64('00000000000000000000000000000002'); + : hexToBinary('00000000000000000000000000000002'); return { resourceSpans: [ diff --git a/experimental/packages/sdk-logs/package.json b/experimental/packages/sdk-logs/package.json index 650e2525437..1d0526a95d8 100644 --- a/experimental/packages/sdk-logs/package.json +++ b/experimental/packages/sdk-logs/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-logs", - "version": "0.45.1", + "version": "0.46.0", "publishConfig": { "access": "public" }, @@ -74,7 +74,8 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.45.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -99,7 +100,7 @@ "webpack-merge": "5.10.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0" } } diff --git a/experimental/packages/sdk-logs/src/export/BatchLogRecordProcessorBase.ts b/experimental/packages/sdk-logs/src/export/BatchLogRecordProcessorBase.ts index 027f103c07a..bfe6367cf25 100644 --- a/experimental/packages/sdk-logs/src/export/BatchLogRecordProcessorBase.ts +++ b/experimental/packages/sdk-logs/src/export/BatchLogRecordProcessorBase.ts @@ -21,8 +21,9 @@ import { getEnv, globalErrorHandler, unrefTimer, - callWithTimeout, BindOnceFuture, + internal, + callWithTimeout, } from '@opentelemetry/core'; import type { BufferConfig } from '../types'; @@ -163,21 +164,34 @@ export abstract class BatchLogRecordProcessorBase } } - private _export(logRecords: LogRecord[]): Promise { - return new Promise((resolve, reject) => { - this._exporter.export(logRecords, (res: ExportResult) => { - if (res.code !== ExportResultCode.SUCCESS) { - reject( - res.error ?? - new Error( - `BatchLogRecordProcessorBase: log record export failed (status ${res})` - ) - ); - return; - } - resolve(res); - }); - }); + private _export(logRecords: LogRecord[]): Promise { + const doExport = () => + internal + ._export(this._exporter, logRecords) + .then((result: ExportResult) => { + if (result.code !== ExportResultCode.SUCCESS) { + globalErrorHandler( + result.error ?? + new Error( + `BatchLogRecordProcessor: log record export failed (status ${result})` + ) + ); + } + }) + .catch(globalErrorHandler); + + const pendingResources = logRecords + .map(logRecord => logRecord.resource) + .filter(resource => resource.asyncAttributesPending); + + // Avoid scheduling a promise to make the behavior more predictable and easier to test + if (pendingResources.length === 0) { + return doExport(); + } else { + return Promise.all( + pendingResources.map(resource => resource.waitForAsyncAttributes?.()) + ).then(doExport, globalErrorHandler); + } } protected abstract onShutdown(): void; diff --git a/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts b/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts index b516d55fc75..97134c886b5 100644 --- a/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts +++ b/experimental/packages/sdk-logs/src/export/SimpleLogRecordProcessor.ts @@ -19,17 +19,19 @@ import { BindOnceFuture, ExportResultCode, globalErrorHandler, + internal, } from '@opentelemetry/core'; - import type { LogRecordExporter } from './LogRecordExporter'; import type { LogRecordProcessor } from '../LogRecordProcessor'; import type { LogRecord } from './../LogRecord'; export class SimpleLogRecordProcessor implements LogRecordProcessor { private _shutdownOnce: BindOnceFuture; + private _unresolvedExports: Set>; constructor(private readonly _exporter: LogRecordExporter) { this._shutdownOnce = new BindOnceFuture(this._shutdown, this); + this._unresolvedExports = new Set>(); } public onEmit(logRecord: LogRecord): void { @@ -37,22 +39,45 @@ export class SimpleLogRecordProcessor implements LogRecordProcessor { return; } - this._exporter.export([logRecord], (res: ExportResult) => { - if (res.code !== ExportResultCode.SUCCESS) { - globalErrorHandler( - res.error ?? - new Error( - `SimpleLogRecordProcessor: log record export failed (status ${res})` - ) - ); - return; + const doExport = () => + internal + ._export(this._exporter, [logRecord]) + .then((result: ExportResult) => { + if (result.code !== ExportResultCode.SUCCESS) { + globalErrorHandler( + result.error ?? + new Error( + `SimpleLogRecordProcessor: log record export failed (status ${result})` + ) + ); + } + }) + .catch(globalErrorHandler); + + // Avoid scheduling a promise to make the behavior more predictable and easier to test + if (logRecord.resource.asyncAttributesPending) { + const exportPromise = logRecord.resource + .waitForAsyncAttributes?.() + .then(() => { + // Using TS Non-null assertion operator because exportPromise could not be null in here + // if waitForAsyncAttributes is not present this code will never be reached + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + this._unresolvedExports.delete(exportPromise!); + return doExport(); + }, globalErrorHandler); + + // store the unresolved exports + if (exportPromise != null) { + this._unresolvedExports.add(exportPromise); } - }); + } else { + void doExport(); + } } - public forceFlush(): Promise { - // do nothing as all log records are being exported without waiting - return Promise.resolve(); + public async forceFlush(): Promise { + // await unresolved resources before resolving + await Promise.all(Array.from(this._unresolvedExports)); } public shutdown(): Promise { diff --git a/experimental/packages/sdk-logs/test/common/export/BatchLogRecordProcessor.test.ts b/experimental/packages/sdk-logs/test/common/export/BatchLogRecordProcessor.test.ts index 70859a314c9..f6a8e776110 100644 --- a/experimental/packages/sdk-logs/test/common/export/BatchLogRecordProcessor.test.ts +++ b/experimental/packages/sdk-logs/test/common/export/BatchLogRecordProcessor.test.ts @@ -32,16 +32,19 @@ import { import { BatchLogRecordProcessorBase } from '../../../src/export/BatchLogRecordProcessorBase'; import { reconfigureLimits } from '../../../src/config'; import { LoggerProviderSharedState } from '../../../src/internal/LoggerProviderSharedState'; -import { Resource } from '@opentelemetry/resources'; +import { Resource, ResourceAttributes } from '@opentelemetry/resources'; class BatchLogRecordProcessor extends BatchLogRecordProcessorBase { onInit() {} onShutdown() {} } -const createLogRecord = (limits?: LogRecordLimits): LogRecord => { +const createLogRecord = ( + limits?: LogRecordLimits, + resource?: Resource +): LogRecord => { const sharedState = new LoggerProviderSharedState( - Resource.default(), + resource || Resource.default(), Infinity, reconfigureLimits(limits ?? {}) ); @@ -308,6 +311,25 @@ describe('BatchLogRecordProcessorBase', () => { await processor.forceFlush(); assert.strictEqual(exporter.getFinishedLogRecords().length, 1); }); + + it('should wait for pending resource on flush', async () => { + const processor = new BatchLogRecordProcessor(exporter); + const asyncResource = new Resource( + {}, + new Promise(resolve => { + setTimeout(() => resolve({ async: 'fromasync' }), 1); + }) + ); + const logRecord = createLogRecord(undefined, asyncResource); + processor.onEmit(logRecord); + await processor.forceFlush(); + const exportedLogs = exporter.getFinishedLogRecords(); + assert.strictEqual(exportedLogs.length, 1); + assert.strictEqual( + exportedLogs[0].resource.attributes['async'], + 'fromasync' + ); + }); }); describe('shutdown', () => { diff --git a/experimental/packages/sdk-logs/test/common/export/SimpleLogRecordProcessor.test.ts b/experimental/packages/sdk-logs/test/common/export/SimpleLogRecordProcessor.test.ts index 27eacc91952..a19723f4cce 100644 --- a/experimental/packages/sdk-logs/test/common/export/SimpleLogRecordProcessor.test.ts +++ b/experimental/packages/sdk-logs/test/common/export/SimpleLogRecordProcessor.test.ts @@ -21,6 +21,8 @@ import { loggingErrorHandler, setGlobalErrorHandler, } from '@opentelemetry/core'; +import { Resource, ResourceAttributes } from '@opentelemetry/resources'; +import { Resource as Resource190 } from '@opentelemetry/resources_1.9.0'; import { InMemoryLogRecordExporter, @@ -29,12 +31,12 @@ import { LogRecord, } from './../../../src'; import { LoggerProviderSharedState } from '../../../src/internal/LoggerProviderSharedState'; -import { Resource } from '@opentelemetry/resources'; import { reconfigureLimits } from '../../../src/config'; +import { TestExporterWithDelay } from './TestExporterWithDelay'; -const setup = (exporter: LogRecordExporter) => { +const setup = (exporter: LogRecordExporter, resource?: Resource) => { const sharedState = new LoggerProviderSharedState( - Resource.default(), + resource || Resource.default(), Infinity, reconfigureLimits({}) ); @@ -113,4 +115,65 @@ describe('SimpleLogRecordProcessor', () => { assert.ok(shutdownSpy.callCount === 1); }); }); + + describe('force flush', () => { + it('should await unresolved resources', async () => { + const exporter = new InMemoryLogRecordExporter(); + const asyncResource = new Resource( + {}, + new Promise(resolve => { + setTimeout(() => resolve({ async: 'fromasync' }), 1); + }) + ); + const { processor, logRecord } = setup(exporter, asyncResource); + assert.strictEqual(exporter.getFinishedLogRecords().length, 0); + processor.onEmit(logRecord); + + await processor.forceFlush(); + + const exportedLogs = exporter.getFinishedLogRecords(); + assert.strictEqual(exportedLogs.length, 1); + assert.strictEqual( + exportedLogs[0].resource.attributes['async'], + 'fromasync' + ); + }); + + it('should await doExport() and delete from _unresolvedExports', async () => { + const testExporterWithDelay = new TestExporterWithDelay(); + const asyncResource = new Resource( + {}, + new Promise(resolve => { + setTimeout(() => resolve({ async: 'fromasync' }), 1); + }) + ); + const processor = new SimpleLogRecordProcessor(testExporterWithDelay); + const { logRecord } = setup(testExporterWithDelay, asyncResource); + + processor.onEmit(logRecord); + assert.strictEqual(processor['_unresolvedExports'].size, 1); + await processor.forceFlush(); + assert.strictEqual(processor['_unresolvedExports'].size, 0); + const exportedLogRecords = testExporterWithDelay.getFinishedLogRecords(); + assert.strictEqual(exportedLogRecords.length, 1); + }); + }); + + describe('compatibility', () => { + it('should export when using old resource implementation', async () => { + const exporter = new InMemoryLogRecordExporter(); + const { processor, logRecord } = setup( + exporter, + new Resource190({ fromold: 'fromold' }) + ); + assert.strictEqual(exporter.getFinishedLogRecords().length, 0); + processor.onEmit(logRecord); + const exportedLogs = exporter.getFinishedLogRecords(); + assert.strictEqual(exportedLogs.length, 1); + assert.strictEqual( + exportedLogs[0].resource.attributes['fromold'], + 'fromold' + ); + }); + }); }); diff --git a/experimental/packages/sdk-logs/test/common/export/TestExporterWithDelay.ts b/experimental/packages/sdk-logs/test/common/export/TestExporterWithDelay.ts new file mode 100644 index 00000000000..1ce3a20ba04 --- /dev/null +++ b/experimental/packages/sdk-logs/test/common/export/TestExporterWithDelay.ts @@ -0,0 +1,51 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { ExportResult } from '@opentelemetry/core'; +import { InMemoryLogRecordExporter, ReadableLogRecord } from '../../../src'; + +/** + * A test-only exporter that delays during export to mimic a real exporter. + */ +export class TestExporterWithDelay extends InMemoryLogRecordExporter { + private _exporterCreatedLogRecords: ReadableLogRecord[] = []; + + constructor() { + super(); + } + + override export( + logRecords: ReadableLogRecord[], + resultCallback: (result: ExportResult) => void + ): void { + super.export(logRecords, () => setTimeout(resultCallback, 1)); + } + + override shutdown(): Promise { + return super.shutdown().then(() => { + this._exporterCreatedLogRecords = []; + }); + } + + override reset() { + super.reset(); + this._exporterCreatedLogRecords = []; + } + + getExporterCreatedLogRecords(): ReadableLogRecord[] { + return this._exporterCreatedLogRecords; + } +} diff --git a/experimental/packages/shim-opencensus/package.json b/experimental/packages/shim-opencensus/package.json index f94f554d6f4..31d60f727e0 100644 --- a/experimental/packages/shim-opencensus/package.json +++ b/experimental/packages/shim-opencensus/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/shim-opencensus", - "version": "0.45.1", + "version": "0.46.0", "description": "OpenCensus to OpenTelemetry shim", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -50,8 +50,8 @@ "devDependencies": { "@opencensus/core": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -69,9 +69,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2" }, diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index d3c8aa0de47..e45cf8a284f 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -1,6 +1,6 @@ { "name": "propagation-validation-server", - "version": "1.19.1", + "version": "1.20.0", "description": "server for w3c tests", "main": "validation_server.js", "private": true, @@ -12,9 +12,9 @@ }, "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "axios": "1.5.1", "body-parser": "1.19.0", "express": "4.17.3" diff --git a/package-lock.json b/package-lock.json index ff1b8e173ef..d85efac063f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", - "@types/webpack": "4.41.38", + "@types/webpack": "5.28.5", "@types/webpack-env": "1.16.3", "babel-plugin-istanbul": "6.1.1", "codecov": "3.8.3", @@ -195,17 +195,17 @@ } }, "examples/esm-http-ts": { - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "engines": { "node": ">=14" @@ -213,18 +213,18 @@ }, "examples/http": { "name": "http-example", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "cross-env": "^6.0.0" @@ -235,18 +235,18 @@ }, "examples/https": { "name": "https-example", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "cross-env": "^6.0.0" @@ -257,24 +257,24 @@ }, "examples/opentelemetry-web": { "name": "web-opentelemetry-example", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "^7.6.0", @@ -608,21 +608,21 @@ }, "examples/otlp-exporter-node": { "name": "example-otlp-exporter-node", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-proto": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "engines": { "node": ">=14" @@ -630,11 +630,11 @@ }, "experimental/backwards-compatibility/node14": { "name": "backcompat-node14", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@types/node": "14.18.25", @@ -651,11 +651,11 @@ }, "experimental/backwards-compatibility/node16": { "name": "backcompat-node16", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@types/node": "16.11.52", @@ -672,11 +672,11 @@ }, "experimental/examples/logs": { "name": "logs-example", - "version": "0.45.1", + "version": "0.46.0", "dependencies": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" }, "devDependencies": { "@types/node": "18.6.5", @@ -742,20 +742,20 @@ } }, "experimental/examples/opencensus-shim": { - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opencensus/core": "0.1.0", "@opencensus/instrumentation-http": "0.1.0", "@opencensus/nodejs-base": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", - "@opentelemetry/shim-opencensus": "0.45.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", + "@opentelemetry/shim-opencensus": "0.46.0" }, "engines": { "node": ">=14" @@ -763,17 +763,17 @@ }, "experimental/examples/prometheus": { "name": "prometheus-example", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0" } }, "experimental/packages/api-events": { "name": "@opentelemetry/api-events", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0" @@ -912,7 +912,7 @@ }, "experimental/packages/api-logs": { "name": "@opentelemetry/api-logs", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0" @@ -1051,22 +1051,22 @@ }, "experimental/packages/exporter-logs-otlp-grpc": { "name": "@opentelemetry/exporter-logs-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" }, "devDependencies": { "@babel/core": "7.23.6", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1090,19 +1090,19 @@ }, "experimental/packages/exporter-logs-otlp-http": { "name": "@opentelemetry/exporter-logs-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1403,17 +1403,17 @@ }, "experimental/packages/exporter-logs-otlp-proto": { "name": "@opentelemetry/exporter-logs-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -1716,21 +1716,21 @@ }, "experimental/packages/exporter-trace-otlp-grpc": { "name": "@opentelemetry/exporter-trace-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/otlp-exporter-base": "0.46.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1754,14 +1754,14 @@ }, "experimental/packages/exporter-trace-otlp-http": { "name": "@opentelemetry/exporter-trace-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2066,15 +2066,15 @@ }, "experimental/packages/exporter-trace-otlp-proto": { "name": "@opentelemetry/exporter-trace-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2377,11 +2377,11 @@ }, "experimental/packages/opentelemetry-browser-detector": { "name": "@opentelemetry/opentelemetry-browser-detector", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2683,16 +2683,16 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-grpc": { "name": "@opentelemetry/exporter-metrics-otlp-grpc", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2721,14 +2721,14 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-http": { "name": "@opentelemetry/exporter-metrics-otlp-http", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -3033,16 +3033,16 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-proto": { "name": "@opentelemetry/exporter-metrics-otlp-proto", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -3070,16 +3070,16 @@ }, "experimental/packages/opentelemetry-exporter-prometheus": { "name": "@opentelemetry/exporter-prometheus", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -3101,11 +3101,11 @@ }, "experimental/packages/opentelemetry-instrumentation": { "name": "@opentelemetry/instrumentation", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.6.0", + "import-in-the-middle": "^1.7.2", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" @@ -3113,8 +3113,7 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -3152,20 +3151,20 @@ }, "experimental/packages/opentelemetry-instrumentation-fetch": { "name": "@opentelemetry/instrumentation-fetch", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -3465,21 +3464,21 @@ }, "experimental/packages/opentelemetry-instrumentation-grpc": { "name": "@opentelemetry/instrumentation-grpc", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@bufbuild/buf": "1.21.0-1", "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", "@protobuf-ts/grpc-transport": "2.9.3", "@protobuf-ts/runtime": "2.9.3", "@protobuf-ts/runtime-rpc": "2.9.3", @@ -3506,20 +3505,20 @@ }, "experimental/packages/opentelemetry-instrumentation-http": { "name": "@opentelemetry/instrumentation-http", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/semantic-conventions": "1.19.0", "semver": "^7.5.2" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.21", @@ -3559,20 +3558,20 @@ }, "experimental/packages/opentelemetry-instrumentation-xml-http-request": { "name": "@opentelemetry/instrumentation-xml-http-request", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -4137,27 +4136,27 @@ }, "experimental/packages/opentelemetry-sdk-node": { "name": "@opentelemetry/sdk-node", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/exporter-jaeger": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/exporter-jaeger": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -4182,10 +4181,10 @@ }, "experimental/packages/otlp-exporter-base": { "name": "@opentelemetry/otlp-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -4487,20 +4486,20 @@ }, "experimental/packages/otlp-grpc-exporter-base": { "name": "@opentelemetry/otlp-grpc-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", "protobufjs": "^7.2.3" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -4525,11 +4524,11 @@ }, "experimental/packages/otlp-proto-exporter-base": { "name": "@opentelemetry/otlp-proto-exporter-base", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", "protobufjs": "^7.2.3" }, "devDependencies": { @@ -4558,15 +4557,15 @@ }, "experimental/packages/otlp-transformer": { "name": "@opentelemetry/otlp-transformer", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1" + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", @@ -4705,16 +4704,17 @@ }, "experimental/packages/sdk-logs": { "name": "@opentelemetry/sdk-logs", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.45.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -4746,6 +4746,56 @@ "@opentelemetry/api-logs": ">=0.39.1" } }, + "experimental/packages/sdk-logs/node_modules/@opentelemetry/api": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", + "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "experimental/packages/sdk-logs/node_modules/@opentelemetry/resources_1.9.0": { + "name": "@opentelemetry/resources", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.9.0.tgz", + "integrity": "sha512-zCyien0p3XWarU6zv72c/JZ6QlG5QW/hc61Nh5TSR1K9ndnljzAGrH55x4nfyQdubfoh9QxLNh9FXH0fWK6vcg==", + "dev": true, + "dependencies": { + "@opentelemetry/core": "1.9.0", + "@opentelemetry/semantic-conventions": "1.9.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.5.0" + } + }, + "experimental/packages/sdk-logs/node_modules/@opentelemetry/resources_1.9.0/node_modules/@opentelemetry/core": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.9.0.tgz", + "integrity": "sha512-Koy1ApRUp5DB5KpOqhDk0JjO9x6QeEkmcePl8qQDsXZGF4MuHUBShXibd+J2tRNckTsvgEHi1uEuUckDgN+c/A==", + "dev": true, + "dependencies": { + "@opentelemetry/semantic-conventions": "1.9.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.5.0" + } + }, + "experimental/packages/sdk-logs/node_modules/@opentelemetry/semantic-conventions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.9.0.tgz", + "integrity": "sha512-po7penSfQ/Z8352lRVDpaBrd9znwA5mHGqXR7nDEiVnxkDFkBIhVf/tKeAJDIq/erFpcRowKFeCsr5eqqcSyFQ==", + "dev": true, + "engines": { + "node": ">=14" + } + }, "experimental/packages/sdk-logs/node_modules/@webpack-cli/configtest": { "version": "2.1.1", "dev": true, @@ -5013,20 +5063,20 @@ }, "experimental/packages/shim-opencensus": { "name": "@opentelemetry/shim-opencensus", - "version": "0.45.1", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2" }, "devDependencies": { "@opencensus/core": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -5048,13 +5098,13 @@ } }, "integration-tests/propagation-validation-server": { - "version": "1.19.1", + "version": "1.20.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "axios": "1.5.1", "body-parser": "1.19.0", "express": "4.17.3" @@ -10715,11 +10765,6 @@ "@types/node": "*" } }, - "node_modules/@types/source-list-map": { - "version": "0.1.4", - "dev": true, - "license": "MIT" - }, "node_modules/@types/superagent": { "version": "4.1.24", "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.24.tgz", @@ -10730,36 +10775,20 @@ "@types/node": "*" } }, - "node_modules/@types/tapable": { - "version": "1.0.10", - "dev": true, - "license": "MIT" - }, "node_modules/@types/tough-cookie": { "version": "4.0.4", "dev": true, "license": "MIT" }, - "node_modules/@types/uglify-js": { - "version": "3.17.3", - "dev": true, - "license": "MIT", - "dependencies": { - "source-map": "^0.6.1" - } - }, "node_modules/@types/webpack": { - "version": "4.41.38", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.38.tgz", - "integrity": "sha512-oOW7E931XJU1mVfCnxCVgv8GLFL768pDO5u2Gzk82i8yTIgX6i7cntyZOkZYb/JtYM8252SN9bQp9tgkVDSsRw==", + "version": "5.28.5", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-5.28.5.tgz", + "integrity": "sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==", "dev": true, "dependencies": { "@types/node": "*", - "@types/tapable": "^1", - "@types/uglify-js": "*", - "@types/webpack-sources": "*", - "anymatch": "^3.0.0", - "source-map": "^0.6.0" + "tapable": "^2.2.0", + "webpack": "^5" } }, "node_modules/@types/webpack-env": { @@ -10767,22 +10796,116 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/webpack-sources": { - "version": "3.2.2", + "node_modules/@types/webpack/node_modules/enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dev": true, - "license": "MIT", "dependencies": { - "@types/node": "*", - "@types/source-list-map": "*", - "source-map": "^0.7.3" + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" } }, - "node_modules/@types/webpack-sources/node_modules/source-map": { - "version": "0.7.4", + "node_modules/@types/webpack/node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, - "license": "BSD-3-Clause", "engines": { - "node": ">= 8" + "node": ">=6" + } + }, + "node_modules/@types/webpack/node_modules/terser-webpack-plugin": { + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.17", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/@types/webpack/node_modules/webpack": { + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "dev": true, + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/@types/webpack/node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "engines": { + "node": ">=10.13.0" } }, "node_modules/@types/ws": { @@ -14065,10 +14188,11 @@ } }, "node_modules/chromedriver": { - "version": "119.0.1", + "version": "120.0.0", + "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-120.0.0.tgz", + "integrity": "sha512-LGy2LhWRBiqDarFIU8gQ43EEyj+07Tc3JuUhthkESAwZ99lrifSnKZwKU0aVwansU84+k6bt71z7K3dkk65gZg==", "dev": true, "hasInstallScript": true, - "license": "Apache-2.0", "dependencies": { "@testim/chrome-version": "^1.1.4", "axios": "^1.6.0", @@ -14087,8 +14211,9 @@ }, "node_modules/chromedriver/node_modules/agent-base": { "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, - "license": "MIT", "dependencies": { "debug": "4" }, @@ -14098,8 +14223,9 @@ }, "node_modules/chromedriver/node_modules/https-proxy-agent": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, - "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -19353,9 +19479,9 @@ } }, "node_modules/import-in-the-middle": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.6.0.tgz", - "integrity": "sha512-ENmVXh2AC5PV5xmtPK0QCV6nyde5Y8dXhMZFGDSYhlLcdBPJofge1bf6PnWzs7fnzyuesh/q/CPwO7/6HOTWqQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.7.2.tgz", + "integrity": "sha512-coz7AjRnPyKW36J6JX5Bjz1mcX7MX1H2XsEGseVcnXMdzsAbbAu0HBZhiAem+3SAmuZdi+p8OwoB2qUpTRgjOQ==", "dependencies": { "acorn": "^8.8.2", "acorn-import-assertions": "^1.9.0", @@ -32815,7 +32941,7 @@ }, "packages/opentelemetry-context-async-hooks": { "name": "@opentelemetry/context-async-hooks", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -32838,10 +32964,10 @@ }, "packages/opentelemetry-context-zone": { "name": "@opentelemetry/context-zone", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", "zone.js": "^0.11.0" }, "devDependencies": { @@ -32875,7 +33001,7 @@ }, "packages/opentelemetry-context-zone-peer-dep": { "name": "@opentelemetry/context-zone-peer-dep", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "devDependencies": { "@babel/core": "7.23.6", @@ -33454,10 +33580,10 @@ }, "packages/opentelemetry-core": { "name": "@opentelemetry/core", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -33599,17 +33725,17 @@ }, "packages/opentelemetry-exporter-jaeger": { "name": "@opentelemetry/exporter-jaeger", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "jaeger-client": "^3.15.0" }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -33632,13 +33758,13 @@ }, "packages/opentelemetry-exporter-zipkin": { "name": "@opentelemetry/exporter-zipkin", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -33943,10 +34069,10 @@ }, "packages/opentelemetry-propagator-b3": { "name": "@opentelemetry/propagator-b3", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -33970,10 +34096,10 @@ }, "packages/opentelemetry-propagator-jaeger": { "name": "@opentelemetry/propagator-jaeger", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34115,11 +34241,11 @@ }, "packages/opentelemetry-resources": { "name": "@opentelemetry/resources", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34460,12 +34586,12 @@ }, "packages/opentelemetry-sdk-trace-base": { "name": "@opentelemetry/sdk-trace-base", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34608,20 +34734,20 @@ }, "packages/opentelemetry-sdk-trace-node": { "name": "@opentelemetry/sdk-trace-node", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "semver": "^7.5.2" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -34644,19 +34770,19 @@ }, "packages/opentelemetry-sdk-trace-web": { "name": "@opentelemetry/sdk-trace-web", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/resources": "1.19.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -34959,7 +35085,7 @@ }, "packages/opentelemetry-semantic-conventions": { "name": "@opentelemetry/semantic-conventions", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "devDependencies": { "@types/mocha": "10.0.6", @@ -34981,18 +35107,18 @@ }, "packages/opentelemetry-shim-opentracing": { "name": "@opentelemetry/shim-opentracing", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "opentracing": "^0.14.4" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -35012,11 +35138,11 @@ }, "packages/sdk-metrics": { "name": "@opentelemetry/sdk-metrics", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", "lodash.merge": "^4.6.2" }, "devDependencies": { @@ -35320,7 +35446,7 @@ }, "packages/template": { "name": "@opentelemetry/template", - "version": "1.18.1", + "version": "1.19.0", "license": "Apache-2.0", "devDependencies": { "@types/node": "18.6.5", @@ -35334,19 +35460,19 @@ }, "selenium-tests": { "name": "@opentelemetry/selenium-tests", - "version": "1.19.1", + "version": "1.20.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", "zone.js": "0.11.4" }, "devDependencies": { @@ -35359,7 +35485,7 @@ "babel-loader": "8.3.0", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8", - "chromedriver": "119.0.1", + "chromedriver": "120.0.0", "dotenv": "16.0.0", "fast-safe-stringify": "2.1.1", "geckodriver": "3.0.1", @@ -38745,7 +38871,7 @@ "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", - "@types/webpack": "4.41.38", + "@types/webpack": "5.28.5", "@types/webpack-env": "1.16.3", "babel-plugin-istanbul": "6.1.1", "codecov": "3.8.3", @@ -39016,7 +39142,7 @@ "version": "file:packages/opentelemetry-context-zone", "requires": { "@babel/core": "7.23.6", - "@opentelemetry/context-zone-peer-dep": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39355,7 +39481,7 @@ "version": "file:packages/opentelemetry-core", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39442,10 +39568,10 @@ "version": "file:packages/opentelemetry-exporter-jaeger", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39468,13 +39594,13 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39495,12 +39621,12 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39668,14 +39794,14 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39843,12 +39969,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39869,11 +39995,11 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40041,13 +40167,13 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40067,10 +40193,10 @@ "version": "file:experimental/packages/opentelemetry-exporter-prometheus", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40091,12 +40217,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-grpc-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40117,11 +40243,11 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40289,12 +40415,12 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-proto-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-proto-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40460,10 +40586,10 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40631,8 +40757,7 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", + "@opentelemetry/sdk-metrics": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -40644,7 +40769,7 @@ "codecov": "3.8.3", "cpx": "1.5.0", "cross-var": "1.1.0", - "import-in-the-middle": "1.6.0", + "import-in-the-middle": "^1.7.2", "karma": "6.4.2", "karma-chrome-launcher": "3.1.0", "karma-coverage": "2.2.1", @@ -40806,13 +40931,13 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40981,12 +41106,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@protobuf-ts/grpc-transport": "2.9.3", "@protobuf-ts/runtime": "2.9.3", "@protobuf-ts/runtime-rpc": "2.9.3", @@ -41009,13 +41134,13 @@ "version": "file:experimental/packages/opentelemetry-instrumentation-http", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.21", @@ -41054,13 +41179,13 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41227,8 +41352,8 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41393,7 +41518,7 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", + "@opentelemetry/core": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41559,11 +41684,11 @@ "@babel/core": "7.23.6", "@grpc/grpc-js": "^1.7.1", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", - "@opentelemetry/otlp-transformer": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", + "@opentelemetry/otlp-transformer": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41586,8 +41711,8 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/otlp-exporter-base": "0.45.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/otlp-exporter-base": "0.46.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41608,12 +41733,12 @@ "version": "file:experimental/packages/otlp-transformer", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/webpack-env": "1.16.3", "babel-plugin-istanbul": "6.1.1", @@ -41697,7 +41822,7 @@ "version": "file:packages/opentelemetry-propagator-b3", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.18.1", + "@opentelemetry/core": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -41714,7 +41839,7 @@ "version": "file:packages/opentelemetry-propagator-jaeger", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.18.1", + "@opentelemetry/core": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41801,9 +41926,9 @@ "version": "file:packages/opentelemetry-resources", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.18.1", + "@opentelemetry/core": "1.19.0", "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41990,9 +42115,10 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -42017,6 +42143,39 @@ "webpack-merge": "5.10.0" }, "dependencies": { + "@opentelemetry/api": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", + "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==", + "dev": true + }, + "@opentelemetry/resources_1.9.0": { + "version": "npm:@opentelemetry/resources@1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.9.0.tgz", + "integrity": "sha512-zCyien0p3XWarU6zv72c/JZ6QlG5QW/hc61Nh5TSR1K9ndnljzAGrH55x4nfyQdubfoh9QxLNh9FXH0fWK6vcg==", + "dev": true, + "requires": { + "@opentelemetry/core": "1.9.0", + "@opentelemetry/semantic-conventions": "1.9.0" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.9.0.tgz", + "integrity": "sha512-Koy1ApRUp5DB5KpOqhDk0JjO9x6QeEkmcePl8qQDsXZGF4MuHUBShXibd+J2tRNckTsvgEHi1uEuUckDgN+c/A==", + "dev": true, + "requires": { + "@opentelemetry/semantic-conventions": "1.9.0" + } + } + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.9.0.tgz", + "integrity": "sha512-po7penSfQ/Z8352lRVDpaBrd9znwA5mHGqXR7nDEiVnxkDFkBIhVf/tKeAJDIq/erFpcRowKFeCsr5eqqcSyFQ==", + "dev": true + }, "@webpack-cli/configtest": { "version": "2.1.1", "dev": true, @@ -42157,8 +42316,8 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.3.0 <1.8.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", "@types/lodash.merge": "4.6.9", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -42324,21 +42483,21 @@ "version": "file:experimental/packages/opentelemetry-sdk-node", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-logs": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-logs": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -42359,9 +42518,9 @@ "version": "file:packages/opentelemetry-sdk-trace-base", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -42449,13 +42608,13 @@ "version": "file:packages/opentelemetry-sdk-trace-node", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -42476,12 +42635,12 @@ "requires": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -42655,20 +42814,20 @@ "@babel/plugin-transform-runtime": "7.22.15", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone-peer-dep": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", "babel-loader": "8.3.0", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8", - "chromedriver": "119.0.1", + "chromedriver": "120.0.0", "dotenv": "16.0.0", "fast-safe-stringify": "2.1.1", "geckodriver": "3.0.1", @@ -42996,11 +43155,11 @@ "requires": { "@opencensus/core": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -43020,11 +43179,11 @@ "version": "file:packages/opentelemetry-shim-opentracing", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -43807,10 +43966,6 @@ "@types/node": "*" } }, - "@types/source-list-map": { - "version": "0.1.4", - "dev": true - }, "@types/superagent": { "version": "4.1.24", "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.24.tgz", @@ -43821,54 +43976,94 @@ "@types/node": "*" } }, - "@types/tapable": { - "version": "1.0.10", - "dev": true - }, "@types/tough-cookie": { "version": "4.0.4", "dev": true }, - "@types/uglify-js": { - "version": "3.17.3", - "dev": true, - "requires": { - "source-map": "^0.6.1" - } - }, "@types/webpack": { - "version": "4.41.38", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.38.tgz", - "integrity": "sha512-oOW7E931XJU1mVfCnxCVgv8GLFL768pDO5u2Gzk82i8yTIgX6i7cntyZOkZYb/JtYM8252SN9bQp9tgkVDSsRw==", + "version": "5.28.5", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-5.28.5.tgz", + "integrity": "sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==", "dev": true, "requires": { "@types/node": "*", - "@types/tapable": "^1", - "@types/uglify-js": "*", - "@types/webpack-sources": "*", - "anymatch": "^3.0.0", - "source-map": "^0.6.0" - } - }, - "@types/webpack-env": { - "version": "1.16.3", - "dev": true - }, - "@types/webpack-sources": { - "version": "3.2.2", - "dev": true, - "requires": { - "@types/node": "*", - "@types/source-list-map": "*", - "source-map": "^0.7.3" + "tapable": "^2.2.0", + "webpack": "^5" }, "dependencies": { - "source-map": { - "version": "0.7.4", + "enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, + "terser-webpack-plugin": { + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.17", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" + } + }, + "webpack": { + "version": "5.89.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", + "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "dev": true, + "requires": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" + } + }, + "webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", "dev": true } } }, + "@types/webpack-env": { + "version": "1.16.3", + "dev": true + }, "@types/ws": { "version": "8.5.8", "dev": true, @@ -45572,8 +45767,8 @@ "backcompat-node14": { "version": "file:experimental/backwards-compatibility/node14", "requires": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/node": "14.18.25", "typescript": "4.4.4" }, @@ -45587,8 +45782,8 @@ "backcompat-node16": { "version": "file:experimental/backwards-compatibility/node16", "requires": { - "@opentelemetry/sdk-node": "0.45.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/sdk-node": "0.46.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/node": "16.11.52", "typescript": "4.4.4" }, @@ -46317,7 +46512,9 @@ "dev": true }, "chromedriver": { - "version": "119.0.1", + "version": "120.0.0", + "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-120.0.0.tgz", + "integrity": "sha512-LGy2LhWRBiqDarFIU8gQ43EEyj+07Tc3JuUhthkESAwZ99lrifSnKZwKU0aVwansU84+k6bt71z7K3dkk65gZg==", "dev": true, "requires": { "@testim/chrome-version": "^1.1.4", @@ -46331,6 +46528,8 @@ "dependencies": { "agent-base": { "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "requires": { "debug": "4" @@ -46338,6 +46537,8 @@ }, "https-proxy-agent": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "requires": { "agent-base": "6", @@ -48081,13 +48282,13 @@ "version": "file:examples/esm-http-ts", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" } }, "espree": { @@ -48191,17 +48392,17 @@ "version": "file:examples/otlp-exporter-node", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-metrics-otlp-proto": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" } }, "execa": { @@ -49692,14 +49893,14 @@ "version": "file:examples/http", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "cross-env": "^6.0.0" } }, @@ -49785,14 +49986,14 @@ "version": "file:examples/https", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.18.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-http": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/exporter-jaeger": "1.19.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-http": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "cross-env": "^6.0.0" } }, @@ -49860,9 +50061,9 @@ } }, "import-in-the-middle": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.6.0.tgz", - "integrity": "sha512-ENmVXh2AC5PV5xmtPK0QCV6nyde5Y8dXhMZFGDSYhlLcdBPJofge1bf6PnWzs7fnzyuesh/q/CPwO7/6HOTWqQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.7.2.tgz", + "integrity": "sha512-coz7AjRnPyKW36J6JX5Bjz1mcX7MX1H2XsEGseVcnXMdzsAbbAu0HBZhiAem+3SAmuZdi+p8OwoB2qUpTRgjOQ==", "requires": { "acorn": "^8.8.2", "acorn-import-assertions": "^1.9.0", @@ -51525,8 +51726,8 @@ "version": "file:experimental/examples/logs", "requires": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.45.1", - "@opentelemetry/sdk-logs": "0.45.1", + "@opentelemetry/api-logs": "0.46.0", + "@opentelemetry/sdk-logs": "0.46.0", "@types/node": "18.6.5", "ts-node": "^10.9.1" }, @@ -53929,13 +54130,13 @@ "@opencensus/instrumentation-http": "0.1.0", "@opencensus/nodejs-base": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/exporter-trace-otlp-grpc": "0.45.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-node": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", - "@opentelemetry/shim-opencensus": "0.45.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.46.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-node": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", + "@opentelemetry/shim-opencensus": "0.46.0" } }, "opentracing": { @@ -54668,8 +54869,8 @@ "version": "file:experimental/examples/prometheus", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1" + "@opentelemetry/exporter-prometheus": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0" } }, "promise-all-reject-late": { @@ -54707,9 +54908,9 @@ "version": "file:integration-tests/propagation-validation-server", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "axios": "1.5.1", "body-parser": "1.19.0", "express": "4.17.3", @@ -58112,20 +58313,20 @@ "requires": { "@babel/core": "^7.6.0", "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-metrics-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-trace-otlp-proto": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "babel-loader": "^8.0.6", "ts-loader": "^9.2.6", "typescript": "^4.5.2", diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index ef48217d0c7..e73a109031d 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-async-hooks", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry AsyncHooks-based Context Manager", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index b97a3ca911d..7ac6e4ed381 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone-peer-dep", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Context Zone with peer dependency for zone.js", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-context-zone/package.json b/packages/opentelemetry-context-zone/package.json index e6a9968a874..44a0aa042e8 100644 --- a/packages/opentelemetry-context-zone/package.json +++ b/packages/opentelemetry-context-zone/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/context-zone", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Context Zone", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -75,7 +75,7 @@ "webpack-merge": "5.10.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", "zone.js": "^0.11.0" }, "sideEffects": true, diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index 8c4ff8bad61..6c3a6919c91 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/core", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,7 +91,7 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core", "sideEffects": false diff --git a/packages/opentelemetry-core/src/common/hex-to-binary.ts b/packages/opentelemetry-core/src/common/hex-to-binary.ts new file mode 100644 index 00000000000..d2a367d3bcc --- /dev/null +++ b/packages/opentelemetry-core/src/common/hex-to-binary.ts @@ -0,0 +1,43 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +function intValue(charCode: number): number { + // 0-9 + if (charCode >= 48 && charCode <= 57) { + return charCode - 48; + } + + // a-f + if (charCode >= 97 && charCode <= 102) { + return charCode - 87; + } + + // A-F + return charCode - 55; +} + +export function hexToBinary(hexStr: string): Uint8Array { + const buf = new Uint8Array(hexStr.length / 2); + let offset = 0; + + for (let i = 0; i < hexStr.length; i += 2) { + const hi = intValue(hexStr.charCodeAt(i)); + const lo = intValue(hexStr.charCodeAt(i + 1)); + buf[offset++] = (hi << 4) | lo; + } + + return buf; +} diff --git a/packages/opentelemetry-core/src/index.ts b/packages/opentelemetry-core/src/index.ts index a3ab418117d..4ec08b1db1f 100644 --- a/packages/opentelemetry-core/src/index.ts +++ b/packages/opentelemetry-core/src/index.ts @@ -21,6 +21,7 @@ export * from './common/global-error-handler'; export * from './common/logging-error-handler'; export * from './common/time'; export * from './common/types'; +export * from './common/hex-to-binary'; export * from './ExportResult'; export * as baggageUtils from './baggage/utils'; export * from './platform'; diff --git a/packages/opentelemetry-core/src/platform/browser/hex-to-base64.ts b/packages/opentelemetry-core/src/platform/browser/hex-to-base64.ts index baf01bdc369..dee61ec727d 100644 --- a/packages/opentelemetry-core/src/platform/browser/hex-to-base64.ts +++ b/packages/opentelemetry-core/src/platform/browser/hex-to-base64.ts @@ -13,13 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +import { hexToBinary } from '../../common/hex-to-binary'; + export function hexToBase64(hexStr: string): string { - const hexStrLen = hexStr.length; - let hexAsciiCharsStr = ''; - for (let i = 0; i < hexStrLen; i += 2) { - const hexPair = hexStr.substring(i, i + 2); - const hexVal = parseInt(hexPair, 16); - hexAsciiCharsStr += String.fromCharCode(hexVal); - } - return btoa(hexAsciiCharsStr); + return btoa(String.fromCharCode(...hexToBinary(hexStr))); } diff --git a/packages/opentelemetry-core/src/platform/node/hex-to-base64.ts b/packages/opentelemetry-core/src/platform/node/hex-to-base64.ts index 66d4ad0fe9c..7be359e6512 100644 --- a/packages/opentelemetry-core/src/platform/node/hex-to-base64.ts +++ b/packages/opentelemetry-core/src/platform/node/hex-to-base64.ts @@ -13,40 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -function intValue(charCode: number): number { - // 0-9 - if (charCode >= 48 && charCode <= 57) { - return charCode - 48; - } - - // a-f - if (charCode >= 97 && charCode <= 102) { - return charCode - 87; - } - - // A-F - return charCode - 55; -} - -const buf8 = Buffer.alloc(8); -const buf16 = Buffer.alloc(16); +import { hexToBinary } from '../../common/hex-to-binary'; export function hexToBase64(hexStr: string): string { - let buf; - if (hexStr.length === 16) { - buf = buf8; - } else if (hexStr.length === 32) { - buf = buf16; - } else { - buf = Buffer.alloc(hexStr.length / 2); - } - let offset = 0; - - for (let i = 0; i < hexStr.length; i += 2) { - const hi = intValue(hexStr.charCodeAt(i)); - const lo = intValue(hexStr.charCodeAt(i + 1)); - buf.writeUInt8((hi << 4) | lo, offset++); - } - - return buf.toString('base64'); + return Buffer.from(hexToBinary(hexStr)).toString('base64'); } diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index 9eec88b7f3e..4050df12a10 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-jaeger", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -45,7 +45,7 @@ }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/resources": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -63,9 +63,9 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "jaeger-client": "^3.15.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-jaeger", diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index 44cc80a5f8f..7d5798cfaf4 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/exporter-zipkin", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -92,10 +92,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-zipkin", "sideEffects": false diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index 2f23d258d5b..3dd123d4a62 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-b3", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry B3 propagator provides context propagation for systems that are using the B3 header format", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -51,7 +51,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0" diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index dea9bac21bd..865c8000a01 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-jaeger", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Jaeger propagator provides HTTP header propagation for systems that are using Jaeger HTTP header format.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -81,7 +81,7 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1" + "@opentelemetry/core": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-propagator-jaeger", "sideEffects": false diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index 098adf15b56..c743fda3768 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/resources", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry SDK resources", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -91,8 +91,8 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources", "sideEffects": false diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index 13fda94e296..85bc645aa36 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-base", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Tracing", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -93,9 +93,9 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base", "sideEffects": false diff --git a/packages/opentelemetry-sdk-trace-base/src/Span.ts b/packages/opentelemetry-sdk-trace-base/src/Span.ts index e3e37d82136..29af9fc6513 100644 --- a/packages/opentelemetry-sdk-trace-base/src/Span.ts +++ b/packages/opentelemetry-sdk-trace-base/src/Span.ts @@ -185,7 +185,9 @@ export class Span implements APISpan, ReadableSpan { return this; } if (this.events.length >= this._spanLimits.eventCountLimit!) { - diag.warn('Dropping extra events.'); + if (this._droppedEventsCount === 0) { + diag.debug('Dropping extra events.'); + } this.events.shift(); this._droppedEventsCount++; } @@ -242,6 +244,12 @@ export class Span implements APISpan, ReadableSpan { this._duration = [0, 0]; } + if (this._droppedEventsCount > 0) { + diag.warn( + `Dropped ${this._droppedEventsCount} events because eventCountLimit reached` + ); + } + this._spanProcessor.onEnd(this); } diff --git a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts index 11b0f3f318e..0067f85c897 100644 --- a/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts +++ b/packages/opentelemetry-sdk-trace-base/test/common/Span.test.ts @@ -15,6 +15,7 @@ */ import { + diag, SpanStatusCode, Exception, ROOT_CONTEXT, @@ -786,6 +787,10 @@ describe('Span', () => { spanContext, SpanKind.CLIENT ); + + const debugStub = sinon.spy(diag, 'debug'); + const warnStub = sinon.spy(diag, 'warn'); + for (let i = 0; i < 150; i++) { span.addEvent('sent' + i); } @@ -793,6 +798,12 @@ describe('Span', () => { assert.strictEqual(span.events.length, 100); assert.strictEqual(span.events[span.events.length - 1].name, 'sent149'); + + sinon.assert.calledOnceWithExactly(debugStub, 'Dropping extra events.'); + sinon.assert.calledOnceWithExactly( + warnStub, + 'Dropped 50 events because eventCountLimit reached' + ); }); it('should store the count of dropped events in droppedEventsCount', () => { diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index a557bc21a26..6d95c281dd1 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-node", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -46,8 +46,8 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/resources": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/resources": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -65,11 +65,11 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/context-async-hooks": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/context-async-hooks": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "semver": "^7.5.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node", diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 24d014ddc55..5aafa9c6c40 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-trace-web", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry Web Tracer", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -57,9 +57,9 @@ "devDependencies": { "@babel/core": "7.23.6", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.18.1", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/context-zone": "1.19.0", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/resources": "1.19.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -92,9 +92,9 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1" + "@opentelemetry/core": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-web", "sideEffects": false diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 71c4af4384b..77caa49e157 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/semantic-conventions", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry semantic conventions", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index cb8230bcdc6..951a4baeea5 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/shim-opentracing", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTracing to OpenTelemetry shim", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -43,9 +43,9 @@ }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/propagator-b3": "1.18.1", - "@opentelemetry/propagator-jaeger": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", + "@opentelemetry/propagator-b3": "1.19.0", + "@opentelemetry/propagator-jaeger": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -60,8 +60,8 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/semantic-conventions": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/semantic-conventions": "1.19.0", "opentracing": "^0.14.4" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-shim-opentracing", diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index 5cd05ede28d..560bbfaf1e8 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-metrics", - "version": "1.18.1", + "version": "1.19.0", "description": "OpenTelemetry metrics SDK", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -84,8 +84,8 @@ "@opentelemetry/api": ">=1.3.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.18.1", - "@opentelemetry/resources": "1.18.1", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/resources": "1.19.0", "lodash.merge": "^4.6.2" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/sdk-metrics", diff --git a/packages/template/package.json b/packages/template/package.json index 6ed7b2331c5..15d665f1f91 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/template", - "version": "1.18.1", + "version": "1.19.0", "private": true, "publishConfig": { "access": "restricted" diff --git a/selenium-tests/package.json b/selenium-tests/package.json index fe74abe8d01..104b4d06f55 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/selenium-tests", - "version": "1.19.1", + "version": "1.20.0", "private": true, "description": "OpenTelemetry Selenium Tests", "main": "index.js", @@ -40,7 +40,7 @@ "babel-loader": "8.3.0", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8", - "chromedriver": "119.0.1", + "chromedriver": "120.0.0", "dotenv": "16.0.0", "fast-safe-stringify": "2.1.1", "geckodriver": "3.0.1", @@ -56,16 +56,16 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.18.1", - "@opentelemetry/core": "1.18.1", - "@opentelemetry/exporter-trace-otlp-http": "0.45.1", - "@opentelemetry/exporter-zipkin": "1.18.1", - "@opentelemetry/instrumentation": "0.45.1", - "@opentelemetry/instrumentation-fetch": "0.45.1", - "@opentelemetry/instrumentation-xml-http-request": "0.45.1", - "@opentelemetry/sdk-metrics": "1.18.1", - "@opentelemetry/sdk-trace-base": "1.18.1", - "@opentelemetry/sdk-trace-web": "1.18.1", + "@opentelemetry/context-zone-peer-dep": "1.19.0", + "@opentelemetry/core": "1.19.0", + "@opentelemetry/exporter-trace-otlp-http": "0.46.0", + "@opentelemetry/exporter-zipkin": "1.19.0", + "@opentelemetry/instrumentation": "0.46.0", + "@opentelemetry/instrumentation-fetch": "0.46.0", + "@opentelemetry/instrumentation-xml-http-request": "0.46.0", + "@opentelemetry/sdk-metrics": "1.19.0", + "@opentelemetry/sdk-trace-base": "1.19.0", + "@opentelemetry/sdk-trace-web": "1.19.0", "zone.js": "0.11.4" } }