diff --git a/CHANGELOG.md b/CHANGELOG.md index bb6489a66f..9b57195513 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,16 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) +### :bug: (Bug Fix) + +### :books: (Refine Doc) + +### :house: (Internal) + +## 1.21.0 + +### :rocket: (Enhancement) + * feat(sdk-metrics): add constructor option to add metric readers [#4427](https://github.com/open-telemetry/opentelemetry-js/pull/4427) @pichlermarc * deprecates `MeterProvider.addMetricReader()` please use the constructor option `readers` instead. @@ -19,8 +29,6 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ * fix(sdk-trace-base): ensure attribute value length limit is enforced on span creation [#4417](https://github.com/open-telemetry/opentelemetry-js/pull/4417) @pichlermarc * fix(sdk-trace-base): Export processed spans while exporter failed [#4287](https://github.com/open-telemetry/opentelemetry-js/pull/4287) @Zirak -### :books: (Refine Doc) - ### :house: (Internal) * chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 [#4320](https://github.com/open-telemetry/opentelemetry-js/pull/4320) diff --git a/README.md b/README.md index eb5236eccd..7339a1e7e9 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ The below table describes which versions of each set of packages are expected to | Stable Packages | Experimental Packages | |-----------------------------------------------------------------|-----------------------| +| 1.21.x | 0.48.x | | 1.20.x | 0.47.x | | 1.19.x | 0.46.x | | 1.18.x | 0.45.x | diff --git a/doc/metrics.md b/doc/metrics.md index 3f48775e49..1eb873a11d 100644 --- a/doc/metrics.md +++ b/doc/metrics.md @@ -59,7 +59,7 @@ const { getNodeAutoInstrumentations, } = require("@opentelemetry/auto-instrumentations-node"); -const prometheusExporter = new PrometheusExporter({ startServer: true }); +const prometheusExporter = new PrometheusExporter(); const sdk = new opentelemetry.NodeSDK({ // Optional - If omitted, the metrics SDK will not be initialized @@ -147,7 +147,7 @@ const { getNodeAutoInstrumentations, } = require("@opentelemetry/auto-instrumentations-node"); -const prometheusExporter = new PrometheusExporter({ startServer: true }); +const prometheusExporter = new PrometheusExporter(); const sdk = new opentelemetry.NodeSDK({ // Optional - If omitted, the metrics SDK will not be initialized @@ -499,8 +499,8 @@ to use the Prometheus exporter `PrometheusExporter` which is included in the const { PrometheusExporter } = require('@opentelemetry/exporter-prometheus'); const { MeterProvider } = require('@opentelemetry/sdk-metrics'); -// Add your port and startServer to the Prometheus options -const options = { port: 9464, startServer: true }; +// Add your port to the Prometheus options +const options = { port: 9464 }; const exporter = new PrometheusExporter(options); // Creates MeterProvider and installs the exporter as a MetricReader diff --git a/examples/esm-http-ts/package.json b/examples/esm-http-ts/package.json index 89e57f1244..5200e5207b 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.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" } } diff --git a/examples/http/package.json b/examples/http/package.json index c5aae49556..8e269ba879 100644 --- a/examples/http/package.json +++ b/examples/http/package.json @@ -1,7 +1,7 @@ { "name": "http-example", "private": true, - "version": "0.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 21f88d9e77..e47b2159c9 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -1,7 +1,7 @@ { "name": "https-example", "private": true, - "version": "0.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 b39e0234fb..395c68e1e3 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.47.0", + "version": "0.48.0", "description": "Example of using @opentelemetry/sdk-trace-web and @opentelemetry/sdk-metrics in browser", "main": "index.js", "scripts": { @@ -44,20 +44,20 @@ }, "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 1c54a7ee55..6b2580abed 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.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-proto": "0.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 820dd18b58..bc332c0284 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -8,6 +8,8 @@ All notable changes to experimental packages in this project will be documented ### :rocket: (Enhancement) +* feat(exporter-metrics-otlp-http): add option to set the exporter aggregation preference [#4409](https://github.com/open-telemetry/opentelemetry-js/pull/4409) @AkselAllas + ### :bug: (Bug Fix) * fix(sdk-node): allow using samplers when the exporter is defined in the environment [#4394](https://github.com/open-telemetry/opentelemetry-js/pull/4394) @JacksonWeber @@ -16,6 +18,28 @@ All notable changes to experimental packages in this project will be documented ### :house: (Internal) +## 0.48.0 + +### :boom: Breaking Change + +* fix(instrumentation)!: pin import-in-the-middle@1.7.1 [#4441](https://github.com/open-telemetry/opentelemetry-js/pull/4441) + * Fixes a bug where, in some circumstances, ESM instrumentation packages would try to instrument CJS exports on ESM, causing the end-user application to crash. + * This breaking change only affects users that are using the *experimental* `@opentelemetry/instrumentation/hook.mjs` loader hook AND Node.js 18.19 or later: + * This reverts back to an older version of `import-in-the-middle` due to + * This version does not support Node.js 18.19 or later + +### :bug: (Bug Fix) + +* fix(exporter-prometheus): avoid invoking callback synchronously [#4431](https://github.com/open-telemetry/opentelemetry-js/pull/4431) @legendecas +* fix(exporter-logs-otlp-grpc): set User-Agent header [#4398](https://github.com/open-telemetry/opentelemetry-js/pull/4398) @Vunovati +* fix(exporter-logs-otlp-http): set User-Agent header [#4398](https://github.com/open-telemetry/opentelemetry-js/pull/4398) @Vunovati +* fix(exporter-logs-otlp-proto): set User-Agent header [#4398](https://github.com/open-telemetry/opentelemetry-js/pull/4398) @Vunovati +* fix(instrumentation-fetch): compatibility with Map types for fetch headers + +### :house: (Internal) + +* refactor(exporter-prometheus): promisify prometheus tests [#4431](https://github.com/open-telemetry/opentelemetry-js/pull/4431) @legendecas + ## 0.47.0 ### :boom: Breaking Change diff --git a/experimental/backwards-compatibility/node14/package.json b/experimental/backwards-compatibility/node14/package.json index 8031e5ff53..a9c5aeda53 100644 --- a/experimental/backwards-compatibility/node14/package.json +++ b/experimental/backwards-compatibility/node14/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node14", - "version": "0.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@types/node": "14.18.25", diff --git a/experimental/backwards-compatibility/node16/package.json b/experimental/backwards-compatibility/node16/package.json index 2376e617e7..af35af7d6f 100644 --- a/experimental/backwards-compatibility/node16/package.json +++ b/experimental/backwards-compatibility/node16/package.json @@ -1,6 +1,6 @@ { "name": "backcompat-node16", - "version": "0.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@types/node": "16.11.52", diff --git a/experimental/examples/logs/package.json b/experimental/examples/logs/package.json index d055611c95..7fbb42d173 100644 --- a/experimental/examples/logs/package.json +++ b/experimental/examples/logs/package.json @@ -1,14 +1,14 @@ { "name": "logs-example", - "version": "0.47.0", + "version": "0.48.0", "private": true, "scripts": { "start": "ts-node index.ts" }, "dependencies": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0" }, "devDependencies": { "@types/node": "18.6.5", diff --git a/experimental/examples/opencensus-shim/package.json b/experimental/examples/opencensus-shim/package.json index db72e78c8b..92990a8ce7 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.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", - "@opentelemetry/shim-opencensus": "0.47.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", + "@opentelemetry/shim-opencensus": "0.48.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/examples/opencensus-shim" } diff --git a/experimental/examples/prometheus/README.md b/experimental/examples/prometheus/README.md index 398427baec..f82f2fc484 100644 --- a/experimental/examples/prometheus/README.md +++ b/experimental/examples/prometheus/README.md @@ -60,6 +60,7 @@ If you are using the default configurations, the prometheus client will be avail

+

## Useful links diff --git a/experimental/examples/prometheus/images/prom-gauge.png b/experimental/examples/prometheus/images/prom-gauge.png new file mode 100644 index 0000000000..1f530a1c19 Binary files /dev/null and b/experimental/examples/prometheus/images/prom-gauge.png differ diff --git a/experimental/examples/prometheus/index.js b/experimental/examples/prometheus/index.js index cd267db019..8f8dd96836 100644 --- a/experimental/examples/prometheus/index.js +++ b/experimental/examples/prometheus/index.js @@ -39,6 +39,23 @@ observableCounter.addCallback(observableResult => { observableResult.observe(counter, attributes); }); +const randomMetricPromise = async () => + new Promise(resolve => + setTimeout(resolve(Math.floor(Math.random() * 100)), 50) + ); + +const observableGauge = meter.createObservableGauge( + 'observable_gauge_requests', + { + description: 'Example of an ObservableGauge', + } +); +// Callbacks are run when metrics are scraped +observableGauge.addCallback(async observableResult => { + const value = await randomMetricPromise(); + observableResult.observe(value, attributes); +}); + // Record metrics setInterval(() => { counter++; diff --git a/experimental/examples/prometheus/package.json b/experimental/examples/prometheus/package.json index a5272f684c..c6f5c171ed 100644 --- a/experimental/examples/prometheus/package.json +++ b/experimental/examples/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "prometheus-example", - "version": "0.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0" } } diff --git a/experimental/packages/api-events/package.json b/experimental/packages/api-events/package.json index c819fd0a68..764ee61d57 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.47.0", + "version": "0.48.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 fe07b75547..617d6774c8 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.47.0", + "version": "0.48.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 ca413e5ae2..aa548298f9 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.47.0", + "version": "0.48.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", @@ -50,9 +50,9 @@ "devDependencies": { "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/resources": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -72,10 +72,10 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.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-grpc/src/OTLPLogExporter.ts b/experimental/packages/exporter-logs-otlp-grpc/src/OTLPLogExporter.ts index 675ce83db0..19b747fca7 100644 --- a/experimental/packages/exporter-logs-otlp-grpc/src/OTLPLogExporter.ts +++ b/experimental/packages/exporter-logs-otlp-grpc/src/OTLPLogExporter.ts @@ -28,6 +28,11 @@ import { createExportLogsServiceRequest, IExportLogsServiceRequest, } from '@opentelemetry/otlp-transformer'; +import { VERSION } from './version'; + +const USER_AGENT = { + 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`, +}; /** * OTLP Logs Exporter for Node @@ -38,9 +43,12 @@ export class OTLPLogExporter { constructor(config: OTLPGRPCExporterConfigNode = {}) { super(config); - const headers = baggageUtils.parseKeyPairsIntoRecord( - getEnv().OTEL_EXPORTER_OTLP_LOGS_HEADERS - ); + const headers = { + ...USER_AGENT, + ...baggageUtils.parseKeyPairsIntoRecord( + getEnv().OTEL_EXPORTER_OTLP_LOGS_HEADERS + ), + }; this.metadata ||= new Metadata(); for (const [k, v] of Object.entries(headers)) { this.metadata.set(k, v); diff --git a/experimental/packages/exporter-logs-otlp-grpc/test/OTLPLogExporter.test.ts b/experimental/packages/exporter-logs-otlp-grpc/test/OTLPLogExporter.test.ts index 9bda910924..bb57df4a4e 100644 --- a/experimental/packages/exporter-logs-otlp-grpc/test/OTLPLogExporter.test.ts +++ b/experimental/packages/exporter-logs-otlp-grpc/test/OTLPLogExporter.test.ts @@ -37,6 +37,7 @@ import { IExportLogsServiceRequest, IResourceLogs, } from '@opentelemetry/otlp-transformer'; +import { VERSION } from '../src/version'; const logsServiceProtoPath = 'opentelemetry/proto/collector/logs/v1/logs_service.proto'; @@ -333,6 +334,12 @@ describe('when configuring via environment', () => { envSource.OTEL_EXPORTER_OTLP_ENDPOINT = ''; envSource.OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = ''; }); + it('should include user-agent header by default', () => { + const collectorExporter = new OTLPLogExporter(); + assert.deepStrictEqual(collectorExporter.metadata?.get('User-Agent'), [ + `OTel-OTLP-Exporter-JavaScript/${VERSION}`, + ]); + }); it('should use headers defined via env', () => { envSource.OTEL_EXPORTER_OTLP_HEADERS = 'foo=bar'; const collectorExporter = new OTLPLogExporter(); diff --git a/experimental/packages/exporter-logs-otlp-http/package.json b/experimental/packages/exporter-logs-otlp-http/package.json index 6b7fac5a17..a268a0f161 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.47.0", + "version": "0.48.0", "publishConfig": { "access": "public" }, @@ -74,7 +74,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/resources": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -105,10 +105,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0" } } diff --git a/experimental/packages/exporter-logs-otlp-http/src/platform/node/OTLPLogExporter.ts b/experimental/packages/exporter-logs-otlp-http/src/platform/node/OTLPLogExporter.ts index 56e4bad3d6..9181b082cf 100644 --- a/experimental/packages/exporter-logs-otlp-http/src/platform/node/OTLPLogExporter.ts +++ b/experimental/packages/exporter-logs-otlp-http/src/platform/node/OTLPLogExporter.ts @@ -25,6 +25,11 @@ import { OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base'; import { createExportLogsServiceRequest } from '@opentelemetry/otlp-transformer'; import { getDefaultUrl } from '../config'; +import { VERSION } from '../../version'; + +const USER_AGENT = { + 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`, +}; /** * Collector Logs Exporter for Node @@ -39,13 +44,14 @@ export class OTLPLogExporter timeoutMillis: getEnv().OTEL_EXPORTER_OTLP_LOGS_TIMEOUT, ...config, }); - this.headers = Object.assign( - this.headers, - baggageUtils.parseKeyPairsIntoRecord( + this.headers = { + ...this.headers, + ...USER_AGENT, + ...baggageUtils.parseKeyPairsIntoRecord( getEnv().OTEL_EXPORTER_OTLP_LOGS_HEADERS ), - config.headers - ); + ...config.headers, + }; } convert(logRecords: ReadableLogRecord[]): IExportLogsServiceRequest { diff --git a/experimental/packages/exporter-logs-otlp-http/test/node/OTLPLogExporter.test.ts b/experimental/packages/exporter-logs-otlp-http/test/node/OTLPLogExporter.test.ts index 83b389628a..5920657b5b 100644 --- a/experimental/packages/exporter-logs-otlp-http/test/node/OTLPLogExporter.test.ts +++ b/experimental/packages/exporter-logs-otlp-http/test/node/OTLPLogExporter.test.ts @@ -31,6 +31,7 @@ import { import { PassThrough, Stream } from 'stream'; import { IExportLogsServiceRequest } from '@opentelemetry/otlp-transformer'; import { ExportResultCode } from '@opentelemetry/core'; +import { VERSION } from '../../src/version'; let fakeRequest: PassThrough; @@ -79,6 +80,14 @@ describe('OTLPLogExporter', () => { assert.ok(exporter instanceof OTLPLogExporter); }); + it('should include user-agent header by default', () => { + const exporter = new OTLPLogExporter(); + assert.strictEqual( + exporter.headers['User-Agent'], + `OTel-OTLP-Exporter-JavaScript/${VERSION}` + ); + }); + it('should use headers defined via env', () => { envSource.OTEL_EXPORTER_OTLP_LOGS_HEADERS = 'foo=bar'; const exporter = new OTLPLogExporter(); diff --git a/experimental/packages/exporter-logs-otlp-proto/package.json b/experimental/packages/exporter-logs-otlp-proto/package.json index df3b011b28..361a6ac3fc 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.47.0", + "version": "0.48.0", "description": "An OTLP exporter to send logs using protobuf over HTTP", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -94,14 +94,14 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.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-logs-otlp-proto/src/platform/node/OTLPLogExporter.ts b/experimental/packages/exporter-logs-otlp-proto/src/platform/node/OTLPLogExporter.ts index a8cdfc4c96..caec7352ff 100644 --- a/experimental/packages/exporter-logs-otlp-proto/src/platform/node/OTLPLogExporter.ts +++ b/experimental/packages/exporter-logs-otlp-proto/src/platform/node/OTLPLogExporter.ts @@ -30,6 +30,11 @@ import { } from '@opentelemetry/otlp-transformer'; import { ReadableLogRecord, LogRecordExporter } from '@opentelemetry/sdk-logs'; +import { VERSION } from '../../version'; + +const USER_AGENT = { + 'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`, +}; const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/logs'; const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`; @@ -46,13 +51,14 @@ export class OTLPLogExporter { constructor(config: OTLPExporterConfigBase = {}) { super(config); - this.headers = Object.assign( - this.headers, - baggageUtils.parseKeyPairsIntoRecord( + this.headers = { + ...this.headers, + ...USER_AGENT, + ...baggageUtils.parseKeyPairsIntoRecord( getEnv().OTEL_EXPORTER_OTLP_LOGS_HEADERS ), - config.headers - ); + ...config.headers, + }; } convert(logs: ReadableLogRecord[]): IExportLogsServiceRequest { return createExportLogsServiceRequest(logs); diff --git a/experimental/packages/exporter-logs-otlp-proto/test/node/OTLPLogExporter.test.ts b/experimental/packages/exporter-logs-otlp-proto/test/node/OTLPLogExporter.test.ts index ab918c992b..9778c95046 100644 --- a/experimental/packages/exporter-logs-otlp-proto/test/node/OTLPLogExporter.test.ts +++ b/experimental/packages/exporter-logs-otlp-proto/test/node/OTLPLogExporter.test.ts @@ -39,6 +39,7 @@ import { } from '@opentelemetry/otlp-proto-exporter-base'; import { IExportLogsServiceRequest } from '@opentelemetry/otlp-transformer'; import { ReadableLogRecord } from '@opentelemetry/sdk-logs'; +import { VERSION } from '../../src/version'; let fakeRequest: PassThrough; @@ -137,6 +138,13 @@ describe('OTLPLogExporter - node with proto over http', () => { ); envSource.OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = ''; }); + it('should include user-agent header by default', () => { + const exporter = new OTLPLogExporter(); + assert.strictEqual( + exporter.headers['User-Agent'], + `OTel-OTLP-Exporter-JavaScript/${VERSION}` + ); + }); it('should use headers defined via env', () => { envSource.OTEL_EXPORTER_OTLP_LOGS_HEADERS = 'foo=bar'; const collectorExporter = new OTLPLogExporter(); diff --git a/experimental/packages/exporter-trace-otlp-grpc/package.json b/experimental/packages/exporter-trace-otlp-grpc/package.json index af82b1b83c..1f6deb4081 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.47.0", + "version": "0.48.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", @@ -49,7 +49,7 @@ "devDependencies": { "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -69,11 +69,11 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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 b43919e766..a06869791a 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.47.0", + "version": "0.48.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", @@ -96,11 +96,11 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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 c6767bd1da..dff818873e 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.47.0", + "version": "0.48.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", @@ -93,12 +93,12 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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 69cdcb64f3..993653992c 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.47.0", + "version": "0.48.0", "description": "OpenTelemetry Resource Detector for Browser", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -83,8 +83,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 3f75f49670..0536164f73 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.47.0", + "version": "0.48.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", @@ -68,12 +68,12 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.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 149dcf8b2e..f984373a27 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.47.0", + "version": "0.48.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", @@ -96,11 +96,11 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.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-http/src/OTLPMetricExporterBase.ts b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterBase.ts index db8a4a32ed..66a5bfb596 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterBase.ts +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterBase.ts @@ -21,6 +21,8 @@ import { InstrumentType, PushMetricExporter, ResourceMetrics, + Aggregation, + AggregationSelector, } from '@opentelemetry/sdk-metrics'; import { AggregationTemporalityPreference, @@ -104,6 +106,16 @@ function chooseTemporalitySelector( return chooseTemporalitySelectorFromEnvironment(); } +function chooseAggregationSelector( + config: OTLPMetricExporterOptions | undefined +) { + if (config?.aggregationPreference) { + return config.aggregationPreference; + } else { + return (_instrumentType: any) => Aggregation.Default(); + } +} + export class OTLPMetricExporterBase< T extends OTLPExporterBase< OTLPMetricExporterOptions, @@ -114,9 +126,11 @@ export class OTLPMetricExporterBase< { public _otlpExporter: T; private _aggregationTemporalitySelector: AggregationTemporalitySelector; + private _aggregationSelector: AggregationSelector; constructor(exporter: T, config?: OTLPMetricExporterOptions) { this._otlpExporter = exporter; + this._aggregationSelector = chooseAggregationSelector(config); this._aggregationTemporalitySelector = chooseTemporalitySelector( config?.temporalityPreference ); @@ -137,6 +151,10 @@ export class OTLPMetricExporterBase< return Promise.resolve(); } + selectAggregation(instrumentType: InstrumentType): Aggregation { + return this._aggregationSelector(instrumentType); + } + selectAggregationTemporality( instrumentType: InstrumentType ): AggregationTemporality { diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterOptions.ts b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterOptions.ts index e03bde4e75..ff805e3b17 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterOptions.ts +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/OTLPMetricExporterOptions.ts @@ -15,12 +15,16 @@ */ import { OTLPExporterConfigBase } from '@opentelemetry/otlp-exporter-base'; -import { AggregationTemporality } from '@opentelemetry/sdk-metrics'; +import { + AggregationTemporality, + AggregationSelector, +} from '@opentelemetry/sdk-metrics'; export interface OTLPMetricExporterOptions extends OTLPExporterConfigBase { temporalityPreference?: | AggregationTemporalityPreference | AggregationTemporality; + aggregationPreference?: AggregationSelector; } export enum AggregationTemporalityPreference { diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/test/node/CollectorMetricExporter.test.ts b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/test/node/CollectorMetricExporter.test.ts index 66f6af3006..b72ed5f8cb 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-http/test/node/CollectorMetricExporter.test.ts +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-http/test/node/CollectorMetricExporter.test.ts @@ -43,7 +43,9 @@ import { } from '../metricsHelper'; import { MockedResponse } from './nodeHelpers'; import { + Aggregation, AggregationTemporality, + ExplicitBucketHistogramAggregation, InstrumentType, ResourceMetrics, } from '@opentelemetry/sdk-metrics'; @@ -218,6 +220,31 @@ describe('OTLPMetricExporter - node with json over http', () => { }); }); + describe('aggregation', () => { + it('aggregationSelector calls the selector supplied to the constructor', () => { + const aggregation = new ExplicitBucketHistogramAggregation([ + 0, 100, 100000, + ]); + const exporter = new OTLPMetricExporter({ + aggregationPreference: _instrumentType => aggregation, + }); + assert.equal( + exporter.selectAggregation(InstrumentType.COUNTER), + aggregation + ); + }); + + it('aggregationSelector returns the default aggregation preference when nothing is supplied', () => { + const exporter = new OTLPMetricExporter({ + aggregationPreference: _instrumentType => Aggregation.Default(), + }); + assert.equal( + exporter.selectAggregation(InstrumentType.COUNTER), + Aggregation.Default() + ); + }); + }); + describe('when configuring via environment', () => { const envSource = process.env; it('should use url defined in env that ends with root path and append version and signal path', () => { diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index f4e4e06545..c28adedf61 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.47.0", + "version": "0.48.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", @@ -74,13 +74,13 @@ "@opentelemetry/api": "^1.3.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.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 f4477c826c..be424e06d6 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.47.0", + "version": "0.48.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.20.0", + "@opentelemetry/semantic-conventions": "1.21.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.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus", "sideEffects": false diff --git a/experimental/packages/opentelemetry-exporter-prometheus/src/PrometheusExporter.ts b/experimental/packages/opentelemetry-exporter-prometheus/src/PrometheusExporter.ts index 42e4fc41e8..bd763de3f0 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/src/PrometheusExporter.ts +++ b/experimental/packages/opentelemetry-exporter-prometheus/src/PrometheusExporter.ts @@ -44,6 +44,7 @@ export class PrometheusExporter extends MetricReader { private readonly _prefix?: string; private readonly _appendTimestamp: boolean; private _serializer: PrometheusSerializer; + private _startServerPromise: Promise | undefined; // This will be required when histogram is implemented. Leaving here so it is not forgotten // Histogram cannot have a attribute named 'le' @@ -95,7 +96,8 @@ export class PrometheusExporter extends MetricReader { callback(err); }); } else if (callback) { - callback(); + // Do not invoke callback immediately to avoid zalgo problem. + queueMicrotask(callback); } } @@ -142,7 +144,7 @@ export class PrometheusExporter extends MetricReader { * Starts the Prometheus export server */ startServer(): Promise { - return new Promise((resolve, reject) => { + this._startServerPromise ??= new Promise((resolve, reject) => { this._server.once('error', reject); this._server.listen( { @@ -157,6 +159,8 @@ export class PrometheusExporter extends MetricReader { } ); }); + + return this._startServerPromise; } /** diff --git a/experimental/packages/opentelemetry-exporter-prometheus/test/PrometheusExporter.test.ts b/experimental/packages/opentelemetry-exporter-prometheus/test/PrometheusExporter.test.ts index d512240677..66bab19ef8 100644 --- a/experimental/packages/opentelemetry-exporter-prometheus/test/PrometheusExporter.test.ts +++ b/experimental/packages/opentelemetry-exporter-prometheus/test/PrometheusExporter.test.ts @@ -53,46 +53,37 @@ describe('PrometheusExporter', () => { }); describe('constructor', () => { - it('should construct an exporter', done => { + it('should construct an exporter', async () => { const exporter = new PrometheusExporter(); assert.ok(typeof exporter.startServer === 'function'); assert.ok(typeof exporter.shutdown === 'function'); - exporter.shutdown().then(done); + await exporter.shutdown(); }); - it('should start the server by default and call the callback', done => { + it('should start the server by default and call the callback', async () => { const port = PrometheusExporter.DEFAULT_OPTIONS.port; const endpoint = PrometheusExporter.DEFAULT_OPTIONS.endpoint; - const exporter = new PrometheusExporter({}, () => { - const url = `http://localhost:${port}${endpoint}`; - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 200); - exporter.shutdown().then(() => { - return done(); - }); - }); - }); + const exporter = new PrometheusExporter(); + await exporter.startServer(); + const url = `http://localhost:${port}${endpoint}`; + await request(url); + await exporter.shutdown(); }); - it('should pass server error to callback when port is already in use', done => { - const firstExporter = new PrometheusExporter({}, error => { - if (error) { - // This should not happen as the port should not be already in use when the test starts. - done(error); - } - }); - const secondExporter = new PrometheusExporter({}, error => { - firstExporter - .shutdown() - .then(() => secondExporter.shutdown()) - .then(() => - done( - error - ? undefined - : 'Second exporter should respond with EADDRINUSE but did not pass it to callback' - ) - ); - }); + it('should pass server error to callback when port is already in use', async () => { + const firstExporter = new PrometheusExporter(); + await firstExporter.startServer(); + + const secondExporter = new PrometheusExporter(); + await assert.rejects( + secondExporter.startServer(), + { code: 'EADDRINUSE' }, + 'Second exporter should respond with EADDRINUSE but did not pass it to callback' + ); + + await Promise.all( + [firstExporter, secondExporter].map(it => it.shutdown()) + ); }); it('should not start the server if preventServerStart is passed as an option', () => { @@ -102,51 +93,35 @@ describe('PrometheusExporter', () => { }); describe('server', () => { - it('should start on startServer() and call the callback', done => { + it('should start on startServer() and call the callback', async () => { const exporter = new PrometheusExporter({ port: 9722, preventServerStart: true, }); - exporter.startServer().then(() => { - exporter.shutdown().then(() => { - return done(); - }); - }); + await exporter.startServer(); + await exporter.shutdown(); }); - it('should listen on the default port and default endpoint', done => { + it('should listen on the default port and default endpoint', async () => { const port = PrometheusExporter.DEFAULT_OPTIONS.port; const endpoint = PrometheusExporter.DEFAULT_OPTIONS.endpoint; - const exporter = new PrometheusExporter({}, () => { - const url = `http://localhost:${port}${endpoint}`; - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 200); - exporter.shutdown().then(() => { - return done(); - }); - }); - }); + const exporter = new PrometheusExporter(); + const url = `http://localhost:${port}${endpoint}`; + await request(url); + await exporter.shutdown(); }); - it('should listen on a custom port and endpoint if provided', done => { + it('should listen on a custom port and endpoint if provided', async () => { const port = 9991; const endpoint = '/metric'; - const exporter = new PrometheusExporter( - { - port, - endpoint, - }, - () => { - const url = `http://localhost:${port}${endpoint}`; - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 200); - exporter.shutdown().then(() => { - return done(); - }); - }); - } - ); + const exporter = new PrometheusExporter({ + port, + endpoint, + }); + const url = `http://localhost:${port}${endpoint}`; + await request(url); + await exporter.shutdown(); }); it('should unref the server to allow graceful termination', () => { @@ -169,67 +144,36 @@ describe('PrometheusExporter', () => { assert.strictEqual(exporter['_port'], 1234); }); - it('should not require endpoints to start with a slash', done => { + it('should not require endpoints to start with a slash', async () => { const port = 9991; const endpoint = 'metric'; + const url = `http://localhost:${port}/metric`; - const exporter = new PrometheusExporter( - { - port, - endpoint, - }, - () => { - const url = `http://localhost:${port}/metric`; - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 200); - exporter.shutdown().then(() => { - const exporter2 = new PrometheusExporter( - { - port, - endpoint: `/${endpoint}`, - }, - () => { - const url = `http://localhost:${port}/metric`; - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 200); - exporter2.stopServer().then(() => { - return done(); - }); - }); - } - ); - }); - }); - } - ); + const exporter = new PrometheusExporter({ + port, + endpoint, + }); + await exporter.startServer(); + await request(url); + await exporter.stopServer(); }); - it('should return a HTTP status 404 if the endpoint does not match', done => { + it('should return a HTTP status 404 if the endpoint does not match', async () => { const port = 9912; const endpoint = '/metrics'; - const exporter = new PrometheusExporter( - { - port, - endpoint, - }, - () => { - const url = `http://localhost:${port}/invalid`; - - http.get(url, (res: any) => { - assert.strictEqual(res.statusCode, 404); - exporter.shutdown().then(() => { - return done(); - }); - }); - } - ); + const exporter = new PrometheusExporter({ + port, + endpoint, + }); + const url = `http://localhost:${port}/invalid`; + + await assert.rejects(request(url), { statusCode: 404 }); + await exporter.shutdown(); }); - it('should call a provided callback on shutdown regardless of if the server is running', done => { + it('should call a provided callback on shutdown regardless of if the server is running', async () => { const exporter = new PrometheusExporter({ preventServerStart: true }); - exporter.shutdown().then(() => { - return done(); - }); + await exporter.shutdown(); }); it('should able to call getMetricsRequestHandler function to generate response with metrics', async () => { @@ -259,18 +203,17 @@ describe('PrometheusExporter', () => { let meterProvider: MeterProvider; let meter: Meter; - beforeEach(done => { - exporter = new PrometheusExporter({}, () => { - meterProvider = new MeterProvider({ - readers: [exporter], - }); - meter = meterProvider.getMeter('test-prometheus', '1'); - done(); + beforeEach(async () => { + exporter = new PrometheusExporter(); + meterProvider = new MeterProvider({ + readers: [exporter], }); + meter = meterProvider.getMeter('test-prometheus', '1'); + await exporter.startServer(); }); - afterEach(done => { - exporter.shutdown().then(done); + afterEach(async () => { + await exporter.shutdown(); }); it('should export a count aggregation', async () => { @@ -347,7 +290,7 @@ describe('PrometheusExporter', () => { ]); }); - it('should export multiple attributes on manual shutdown', done => { + it('should export multiple attributes on manual shutdown', async () => { const counter = meter.createCounter('counter_total', { description: 'a test description', }); @@ -355,16 +298,10 @@ describe('PrometheusExporter', () => { counter.add(10, { counterKey1: 'attributeValue1' }); counter.add(20, { counterKey1: 'attributeValue2' }); counter.add(30, { counterKey1: 'attributeValue3' }); - meterProvider.shutdown().then(() => { - // exporter has been shut down along with meter provider. - http - .get('http://localhost:9464/metrics', res => { - errorHandler(done)(new Error('unreachable')); - }) - .on('error', (err: any) => { - assert.equal(err.code, 'ECONNREFUSED'); - done(); - }); + await meterProvider.shutdown(); + // exporter has been shut down along with meter provider. + await assert.rejects(request('http://localhost:9464/metrics'), { + code: 'ECONNREFUSED', }); }); @@ -547,124 +484,84 @@ describe('PrometheusExporter', () => { await exporter.shutdown(); }); - it('should use a configured name prefix', done => { - exporter = new PrometheusExporter( - { - prefix: 'test_prefix', - }, - async () => { - setup(exporter); - http - .get('http://localhost:9464/metrics', res => { - res.on('data', chunk => { - const body = chunk.toString(); - const lines = body.split('\n'); - - assert.deepStrictEqual(lines, [ - ...serializedDefaultResourceLines, - '# HELP test_prefix_counter_total description missing', - '# TYPE test_prefix_counter_total counter', - 'test_prefix_counter_total{key1="attributeValue1"} 10', - '', - ]); - - done(); - }); - }) - .on('error', errorHandler(done)); - } - ); + it('should use a configured name prefix', async () => { + exporter = new PrometheusExporter({ + prefix: 'test_prefix', + }); + setup(exporter); + const body = await request('http://localhost:9464/metrics'); + const lines = body.split('\n'); + + assert.deepStrictEqual(lines, [ + ...serializedDefaultResourceLines, + '# HELP test_prefix_counter_total description missing', + '# TYPE test_prefix_counter_total counter', + 'test_prefix_counter_total{key1="attributeValue1"} 10', + '', + ]); }); - it('should use a configured port', done => { - exporter = new PrometheusExporter( - { - port: 8080, - }, - async () => { - setup(exporter); - http - .get('http://localhost:8080/metrics', res => { - res.on('data', chunk => { - const body = chunk.toString(); - const lines = body.split('\n'); - - assert.deepStrictEqual(lines, [ - ...serializedDefaultResourceLines, - '# HELP counter_total description missing', - '# TYPE counter_total counter', - 'counter_total{key1="attributeValue1"} 10', - '', - ]); - - done(); - }); - }) - .on('error', errorHandler(done)); - } - ); + it('should use a configured port', async () => { + exporter = new PrometheusExporter({ + port: 8080, + }); + + setup(exporter); + const body = await request('http://localhost:8080/metrics'); + const lines = body.split('\n'); + + assert.deepStrictEqual(lines, [ + ...serializedDefaultResourceLines, + '# HELP counter_total description missing', + '# TYPE counter_total counter', + 'counter_total{key1="attributeValue1"} 10', + '', + ]); }); - it('should use a configured endpoint', done => { - exporter = new PrometheusExporter( - { - endpoint: '/test', - }, - async () => { - setup(exporter); - http - .get('http://localhost:9464/test', res => { - res.on('data', chunk => { - const body = chunk.toString(); - const lines = body.split('\n'); - - assert.deepStrictEqual(lines, [ - ...serializedDefaultResourceLines, - '# HELP counter_total description missing', - '# TYPE counter_total counter', - 'counter_total{key1="attributeValue1"} 10', - '', - ]); - - done(); - }); - }) - .on('error', errorHandler(done)); - } - ); + it('should use a configured endpoint', async () => { + exporter = new PrometheusExporter({ + endpoint: '/test', + }); + + setup(exporter); + const body = await request('http://localhost:9464/test'); + const lines = body.split('\n'); + + assert.deepStrictEqual(lines, [ + ...serializedDefaultResourceLines, + '# HELP counter_total description missing', + '# TYPE counter_total counter', + 'counter_total{key1="attributeValue1"} 10', + '', + ]); }); - it('should export a metric with timestamp', done => { - exporter = new PrometheusExporter( - { - appendTimestamp: true, - }, - async () => { - setup(exporter); - http - .get('http://localhost:9464/metrics', res => { - res.on('data', chunk => { - const body = chunk.toString(); - const lines = body.split('\n'); - - assert.deepStrictEqual(lines, [ - ...serializedDefaultResourceLines, - '# HELP counter_total description missing', - '# TYPE counter_total counter', - `counter_total{key1="attributeValue1"} 10 ${mockedHrTimeMs}`, - '', - ]); - - done(); - }); - }) - .on('error', errorHandler(done)); - } - ); + it('should export a metric with timestamp', async () => { + exporter = new PrometheusExporter({ + appendTimestamp: true, + }); + setup(exporter); + const body = await request('http://localhost:9464/metrics'); + const lines = body.split('\n'); + + assert.deepStrictEqual(lines, [ + ...serializedDefaultResourceLines, + '# HELP counter_total description missing', + '# TYPE counter_total counter', + `counter_total{key1="attributeValue1"} 10 ${mockedHrTimeMs}`, + '', + ]); }); }); }); +class RequestStatusError extends Error { + constructor(public statusCode: number | undefined) { + super('request failed with non-200 code'); + } +} + function request(url: string): Promise { return new Promise((resolve, reject) => { http @@ -677,7 +574,7 @@ function request(url: string): Promise { }); res.on('end', () => { if (res.statusCode !== 200) { - reject(new Error('request failed with non-200 code')); + reject(new RequestStatusError(res.statusCode)); return; } resolve(result); @@ -686,7 +583,3 @@ function request(url: string): Promise { .on('error', reject); }); } - -function errorHandler(done: Mocha.Done): (err: Error) => void { - return err => done(err); -} diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/package.json b/experimental/packages/opentelemetry-instrumentation-fetch/package.json index 3b0c30ba0f..f3fb9b1bb1 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.47.0", + "version": "0.48.0", "description": "OpenTelemetry fetch automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -57,9 +57,9 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -89,10 +89,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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-fetch/src/fetch.ts b/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts index 90213a8c69..7960b38535 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts +++ b/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts @@ -168,6 +168,10 @@ export class FetchInstrumentation extends InstrumentationBase< api.propagation.inject(api.context.active(), options.headers, { set: (h, k, v) => h.set(k, typeof v === 'string' ? v : String(v)), }); + } else if (options.headers instanceof Map) { + api.propagation.inject(api.context.active(), options.headers, { + set: (h, k, v) => h.set(k, typeof v === 'string' ? v : String(v)), + }); } else { const headers: Partial> = {}; api.propagation.inject(api.context.active(), headers); diff --git a/experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.test.ts b/experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.test.ts index 14dcec9978..832b2d8999 100644 --- a/experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.test.ts +++ b/experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.test.ts @@ -503,7 +503,7 @@ describe('fetch', () => { assert.ok(r.headers.get('foo') === 'bar'); }); - it('should keep custom headers with url, untyped request object and typed headers object', () => { + it('should keep custom headers with url, untyped request object and typed (Headers) headers object', () => { const url = 'url'; const init = { headers: new Headers({ foo: 'bar' }), @@ -521,6 +521,17 @@ describe('fetch', () => { assert.ok(init.headers['foo'] === 'bar'); }); + it('should keep custom headers with url, untyped request object and typed (Map) headers object', () => { + const url = 'url'; + const init = { + headers: new Map().set('foo', 'bar'), + }; + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore variable init not of RequestInit type + window.fetch(url, init).catch(() => {}); + assert.ok(init.headers.get('foo') === 'bar'); + }); + it('should pass request object as first parameter to the original function (#2411)', () => { const r = new Request(url); return window.fetch(r).then( diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/package.json b/experimental/packages/opentelemetry-instrumentation-grpc/package.json index e8b589b2dd..c1389db8dc 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.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.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.47.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/semantic-conventions": "1.21.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 740a8db35c..453402848c 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.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.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.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/semantic-conventions": "1.21.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 1669d2cf12..8cf9c767fa 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.47.0", + "version": "0.48.0", "description": "OpenTelemetry XMLHttpRequest automatic instrumentation package.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -57,9 +57,9 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -89,10 +89,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 3724bf7ca3..daf45f823c 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation", - "version": "0.47.0", + "version": "0.48.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,7 +72,7 @@ }, "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "^1.7.2", + "import-in-the-middle": "1.7.1", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" @@ -84,7 +84,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", diff --git a/experimental/packages/opentelemetry-sdk-node/README.md b/experimental/packages/opentelemetry-sdk-node/README.md index a7da74dece..ac828b371c 100644 --- a/experimental/packages/opentelemetry-sdk-node/README.md +++ b/experimental/packages/opentelemetry-sdk-node/README.md @@ -47,7 +47,7 @@ const { } = require("@opentelemetry/auto-instrumentations-node"); const jaegerExporter = new JaegerExporter(); -const prometheusExporter = new PrometheusExporter({ startServer: true }); +const prometheusExporter = new PrometheusExporter(); const sdk = new opentelemetry.NodeSDK({ // Optional - if omitted, the tracing SDK will be initialized from environment variables diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index dca0c5cb1c..b43ed80856 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.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.8.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/exporter-jaeger": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/exporter-jaeger": "1.21.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 b94812dfa5..ce41ac2f0f 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.47.0", + "version": "0.48.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.20.0" + "@opentelemetry/core": "1.21.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 e14e74a7f6..fa6817be25 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.47.0", + "version": "0.48.0", "description": "OpenTelemetry OTLP-gRPC Exporter base (for internal use only)", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -49,9 +49,9 @@ }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -72,8 +72,8 @@ }, "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.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 a25adb831a..e62916bdef 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.47.0", + "version": "0.48.0", "description": "OpenTelemetry OTLP-HTTP-protobuf Exporter base (for internal use only)", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -80,8 +80,8 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.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 25c2963db7..a6bed9f5dc 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "0.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer", "sideEffects": false diff --git a/experimental/packages/sdk-logs/package.json b/experimental/packages/sdk-logs/package.json index 2281af0522..84afa8b529 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.47.0", + "version": "0.48.0", "publishConfig": { "access": "public" }, @@ -75,7 +75,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.47.0", + "@opentelemetry/api-logs": "0.48.0", "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -101,7 +101,7 @@ "webpack-merge": "5.10.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0" } } diff --git a/experimental/packages/shim-opencensus/package.json b/experimental/packages/shim-opencensus/package.json index 317f8fa10c..cebefa1b54 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.47.0", + "version": "0.48.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.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.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 4cdace02dd..954a00eb7b 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.21.0", + "version": "1.22.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.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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 2524eca71e..143eb64d8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -195,17 +195,17 @@ } }, "examples/esm-http-ts": { - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "engines": { "node": ">=14" @@ -213,18 +213,18 @@ }, "examples/http": { "name": "http-example", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-jaeger": "1.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "cross-env": "^6.0.0" @@ -235,18 +235,18 @@ }, "examples/https": { "name": "https-example", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "cross-env": "^6.0.0" @@ -257,24 +257,24 @@ }, "examples/opentelemetry-web": { "name": "web-opentelemetry-example", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "^7.23.6", @@ -609,21 +609,21 @@ }, "examples/otlp-exporter-node": { "name": "example-otlp-exporter-node", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-proto": "0.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "engines": { "node": ">=14" @@ -631,11 +631,11 @@ }, "experimental/backwards-compatibility/node14": { "name": "backcompat-node14", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/sdk-node": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@types/node": "14.18.25", @@ -652,11 +652,11 @@ }, "experimental/backwards-compatibility/node16": { "name": "backcompat-node16", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/sdk-node": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@types/node": "16.11.52", @@ -673,11 +673,11 @@ }, "experimental/examples/logs": { "name": "logs-example", - "version": "0.47.0", + "version": "0.48.0", "dependencies": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0" }, "devDependencies": { "@types/node": "18.6.5", @@ -743,20 +743,20 @@ } }, "experimental/examples/opencensus-shim": { - "version": "0.47.0", + "version": "0.48.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.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", - "@opentelemetry/shim-opencensus": "0.47.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", + "@opentelemetry/shim-opencensus": "0.48.0" }, "engines": { "node": ">=14" @@ -764,17 +764,17 @@ }, "experimental/examples/prometheus": { "name": "prometheus-example", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0" } }, "experimental/packages/api-events": { "name": "@opentelemetry/api-events", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0" @@ -913,7 +913,7 @@ }, "experimental/packages/api-logs": { "name": "@opentelemetry/api-logs", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0" @@ -1052,21 +1052,21 @@ }, "experimental/packages/exporter-logs-otlp-grpc": { "name": "@opentelemetry/exporter-logs-otlp-grpc", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0" }, "devDependencies": { "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/resources": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1090,20 +1090,20 @@ }, "experimental/packages/exporter-logs-otlp-http": { "name": "@opentelemetry/exporter-logs-otlp-http", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0" }, "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/resources": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1404,17 +1404,17 @@ }, "experimental/packages/exporter-logs-otlp-proto": { "name": "@opentelemetry/exporter-logs-otlp-proto", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -1718,20 +1718,20 @@ }, "experimental/packages/exporter-trace-otlp-grpc": { "name": "@opentelemetry/exporter-trace-otlp-grpc", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -1755,14 +1755,14 @@ }, "experimental/packages/exporter-trace-otlp-http": { "name": "@opentelemetry/exporter-trace-otlp-http", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2068,15 +2068,15 @@ }, "experimental/packages/exporter-trace-otlp-proto": { "name": "@opentelemetry/exporter-trace-otlp-proto", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2380,11 +2380,11 @@ }, "experimental/packages/opentelemetry-browser-detector": { "name": "@opentelemetry/opentelemetry-browser-detector", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -2687,16 +2687,16 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-grpc": { "name": "@opentelemetry/exporter-metrics-otlp-grpc", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0" }, "devDependencies": { "@grpc/proto-loader": "^0.7.10", @@ -2724,14 +2724,14 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-http": { "name": "@opentelemetry/exporter-metrics-otlp-http", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -3037,16 +3037,16 @@ }, "experimental/packages/opentelemetry-exporter-metrics-otlp-proto": { "name": "@opentelemetry/exporter-metrics-otlp-proto", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", @@ -3073,16 +3073,16 @@ }, "experimental/packages/opentelemetry-exporter-prometheus": { "name": "@opentelemetry/exporter-prometheus", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -3104,11 +3104,11 @@ }, "experimental/packages/opentelemetry-instrumentation": { "name": "@opentelemetry/instrumentation", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "^1.7.2", + "import-in-the-middle": "1.7.1", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" @@ -3117,7 +3117,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -3154,21 +3154,21 @@ }, "experimental/packages/opentelemetry-instrumentation-fetch": { "name": "@opentelemetry/instrumentation-fetch", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -3468,21 +3468,21 @@ }, "experimental/packages/opentelemetry-instrumentation-grpc": { "name": "@opentelemetry/instrumentation-grpc", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/semantic-conventions": "1.21.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.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", "@protobuf-ts/grpc-transport": "2.9.3", "@protobuf-ts/runtime": "2.9.3", "@protobuf-ts/runtime-rpc": "2.9.3", @@ -3509,20 +3509,20 @@ }, "experimental/packages/opentelemetry-instrumentation-http": { "name": "@opentelemetry/instrumentation-http", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/semantic-conventions": "1.21.0", "semver": "^7.5.2" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.21", @@ -3562,21 +3562,21 @@ }, "experimental/packages/opentelemetry-instrumentation-xml-http-request": { "name": "@opentelemetry/instrumentation-xml-http-request", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -3948,6 +3948,17 @@ "node": ">=10.13.0" } }, + "experimental/packages/opentelemetry-instrumentation/node_modules/import-in-the-middle": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.7.1.tgz", + "integrity": "sha512-1LrZPDtW+atAxH42S6288qyDFNQ2YCty+2mxEPRtfazH6Z5QwkaBSTS2ods7hnVJioF6rkRfNoA6A/MstpFXLg==", + "dependencies": { + "acorn": "^8.8.2", + "acorn-import-assertions": "^1.9.0", + "cjs-module-lexer": "^1.2.2", + "module-details-from-path": "^1.0.3" + } + }, "experimental/packages/opentelemetry-instrumentation/node_modules/interpret": { "version": "3.1.1", "dev": true, @@ -4141,27 +4152,27 @@ }, "experimental/packages/opentelemetry-sdk-node": { "name": "@opentelemetry/sdk-node", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/exporter-jaeger": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/exporter-jaeger": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -4186,10 +4197,10 @@ }, "experimental/packages/otlp-exporter-base": { "name": "@opentelemetry/otlp-exporter-base", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0" + "@opentelemetry/core": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -4492,19 +4503,19 @@ }, "experimental/packages/otlp-grpc-exporter-base": { "name": "@opentelemetry/otlp-grpc-exporter-base", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", "protobufjs": "^7.2.3" }, "devDependencies": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -4529,11 +4540,11 @@ }, "experimental/packages/otlp-proto-exporter-base": { "name": "@opentelemetry/otlp-proto-exporter-base", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", "protobufjs": "^7.2.3" }, "devDependencies": { @@ -4563,15 +4574,15 @@ }, "experimental/packages/otlp-transformer": { "name": "@opentelemetry/otlp-transformer", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0" + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0" }, "devDependencies": { "@opentelemetry/api": "1.7.0", @@ -4710,17 +4721,17 @@ }, "experimental/packages/sdk-logs": { "name": "@opentelemetry/sdk-logs", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.47.0", + "@opentelemetry/api-logs": "0.48.0", "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -5070,20 +5081,20 @@ }, "experimental/packages/shim-opencensus": { "name": "@opentelemetry/shim-opencensus", - "version": "0.47.0", + "version": "0.48.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.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.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -5105,13 +5116,13 @@ } }, "integration-tests/propagation-validation-server": { - "version": "1.21.0", + "version": "1.22.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "axios": "1.5.1", "body-parser": "1.19.0", "express": "4.17.3" @@ -19486,17 +19497,6 @@ "node": ">=4" } }, - "node_modules/import-in-the-middle": { - "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", - "cjs-module-lexer": "^1.2.2", - "module-details-from-path": "^1.0.3" - } - }, "node_modules/import-local": { "version": "3.1.0", "dev": true, @@ -32949,7 +32949,7 @@ }, "packages/opentelemetry-context-async-hooks": { "name": "@opentelemetry/context-async-hooks", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -32972,10 +32972,10 @@ }, "packages/opentelemetry-context-zone": { "name": "@opentelemetry/context-zone", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", "zone.js": "^0.11.0" }, "devDependencies": { @@ -32989,7 +32989,7 @@ }, "packages/opentelemetry-context-zone-peer-dep": { "name": "@opentelemetry/context-zone-peer-dep", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "devDependencies": { "@babel/core": "7.23.6", @@ -33305,10 +33305,10 @@ }, "packages/opentelemetry-core": { "name": "@opentelemetry/core", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -33450,17 +33450,17 @@ }, "packages/opentelemetry-exporter-jaeger": { "name": "@opentelemetry/exporter-jaeger", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "jaeger-client": "^3.15.0" }, "devDependencies": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/resources": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -33483,13 +33483,13 @@ }, "packages/opentelemetry-exporter-zipkin": { "name": "@opentelemetry/exporter-zipkin", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", @@ -33795,10 +33795,10 @@ }, "packages/opentelemetry-propagator-b3": { "name": "@opentelemetry/propagator-b3", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0" + "@opentelemetry/core": "1.21.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -33822,10 +33822,10 @@ }, "packages/opentelemetry-propagator-jaeger": { "name": "@opentelemetry/propagator-jaeger", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0" + "@opentelemetry/core": "1.21.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -33967,11 +33967,11 @@ }, "packages/opentelemetry-resources": { "name": "@opentelemetry/resources", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34312,12 +34312,12 @@ }, "packages/opentelemetry-sdk-trace-base": { "name": "@opentelemetry/sdk-trace-base", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", @@ -34460,20 +34460,20 @@ }, "packages/opentelemetry-sdk-trace-node": { "name": "@opentelemetry/sdk-trace-node", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "semver": "^7.5.2" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -34496,20 +34496,20 @@ }, "packages/opentelemetry-sdk-trace-web": { "name": "@opentelemetry/sdk-trace-web", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" }, "devDependencies": { "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/resources": "1.21.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -34812,7 +34812,7 @@ }, "packages/opentelemetry-semantic-conventions": { "name": "@opentelemetry/semantic-conventions", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "devDependencies": { "@types/mocha": "10.0.6", @@ -34834,18 +34834,18 @@ }, "packages/opentelemetry-shim-opentracing": { "name": "@opentelemetry/shim-opentracing", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "opentracing": "^0.14.4" }, "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -34865,11 +34865,11 @@ }, "packages/sdk-metrics": { "name": "@opentelemetry/sdk-metrics", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", "lodash.merge": "^4.6.2" }, "devDependencies": { @@ -35174,7 +35174,7 @@ }, "packages/template": { "name": "@opentelemetry/template", - "version": "1.20.0", + "version": "1.21.0", "license": "Apache-2.0", "devDependencies": { "@types/node": "18.6.5", @@ -35188,19 +35188,19 @@ }, "selenium-tests": { "name": "@opentelemetry/selenium-tests", - "version": "1.21.0", + "version": "1.22.0", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", "zone.js": "0.11.4" }, "devDependencies": { @@ -38869,7 +38869,7 @@ "@opentelemetry/context-zone": { "version": "file:packages/opentelemetry-context-zone", "requires": { - "@opentelemetry/context-zone-peer-dep": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", "cross-var": "1.1.0", "lerna": "6.6.2", "typescript": "4.4.4", @@ -39057,7 +39057,7 @@ "version": "file:packages/opentelemetry-core", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39144,10 +39144,10 @@ "version": "file:packages/opentelemetry-exporter-jaeger", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39169,13 +39169,13 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39197,12 +39197,12 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39371,14 +39371,14 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39545,12 +39545,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39572,11 +39572,11 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39743,13 +39743,13 @@ "version": "file:experimental/packages/opentelemetry-exporter-metrics-otlp-proto", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39769,10 +39769,10 @@ "version": "file:experimental/packages/opentelemetry-exporter-prometheus", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39792,12 +39792,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39819,11 +39819,11 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -39992,12 +39992,12 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-proto-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-proto-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40164,10 +40164,10 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "^1.0.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40336,7 +40336,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/sdk-metrics": "1.20.0", + "@opentelemetry/sdk-metrics": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -40348,7 +40348,7 @@ "codecov": "3.8.3", "cpx": "1.5.0", "cross-var": "1.1.0", - "import-in-the-middle": "^1.7.2", + "import-in-the-middle": "1.7.1", "karma": "6.4.2", "karma-chrome-launcher": "3.1.0", "karma-coverage": "2.2.1", @@ -40406,6 +40406,17 @@ "tapable": "^2.2.0" } }, + "import-in-the-middle": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.7.1.tgz", + "integrity": "sha512-1LrZPDtW+atAxH42S6288qyDFNQ2YCty+2mxEPRtfazH6Z5QwkaBSTS2ods7hnVJioF6rkRfNoA6A/MstpFXLg==", + "requires": { + "acorn": "^8.8.2", + "acorn-import-assertions": "^1.9.0", + "cjs-module-lexer": "^1.2.2", + "module-details-from-path": "^1.0.3" + } + }, "interpret": { "version": "3.1.1", "dev": true @@ -40511,13 +40522,13 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40686,12 +40697,12 @@ "@grpc/grpc-js": "^1.7.1", "@grpc/proto-loader": "^0.7.10", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@protobuf-ts/grpc-transport": "2.9.3", "@protobuf-ts/runtime": "2.9.3", "@protobuf-ts/runtime-rpc": "2.9.3", @@ -40714,13 +40725,13 @@ "version": "file:experimental/packages/opentelemetry-instrumentation-http", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/request-promise-native": "1.0.21", @@ -40760,13 +40771,13 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -40934,8 +40945,8 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41101,7 +41112,7 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", + "@opentelemetry/core": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41266,11 +41277,11 @@ "requires": { "@grpc/grpc-js": "^1.7.1", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", - "@opentelemetry/otlp-transformer": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", + "@opentelemetry/otlp-transformer": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41294,8 +41305,8 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/otlp-exporter-base": "0.47.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/otlp-exporter-base": "0.48.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41316,12 +41327,12 @@ "version": "file:experimental/packages/otlp-transformer", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/webpack-env": "1.16.3", "babel-plugin-istanbul": "6.1.1", @@ -41405,7 +41416,7 @@ "version": "file:packages/opentelemetry-propagator-b3", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.20.0", + "@opentelemetry/core": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -41422,7 +41433,7 @@ "version": "file:packages/opentelemetry-propagator-jaeger", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.20.0", + "@opentelemetry/core": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41509,9 +41520,9 @@ "version": "file:packages/opentelemetry-resources", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.20.0", + "@opentelemetry/core": "1.21.0", "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -41699,9 +41710,9 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", "@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -41901,8 +41912,8 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.3.0 <1.8.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", "@types/lodash.merge": "4.6.9", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -42068,21 +42079,21 @@ "version": "file:experimental/packages/opentelemetry-sdk-node", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-jaeger": "1.20.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-logs": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-logs": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -42103,9 +42114,9 @@ "version": "file:packages/opentelemetry-sdk-trace-base", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -42193,13 +42204,13 @@ "version": "file:packages/opentelemetry-sdk-trace-node", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/semver": "7.5.6", @@ -42221,12 +42232,12 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -42400,16 +42411,16 @@ "@babel/plugin-transform-runtime": "7.22.15", "@babel/preset-env": "7.22.20", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-zone-peer-dep": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", "babel-loader": "8.3.0", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8", @@ -42741,11 +42752,11 @@ "requires": { "@opencensus/core": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "@types/sinon": "10.0.20", @@ -42765,11 +42776,11 @@ "version": "file:packages/opentelemetry-shim-opentracing", "requires": { "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "@types/mocha": "10.0.6", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -45353,8 +45364,8 @@ "backcompat-node14": { "version": "file:experimental/backwards-compatibility/node14", "requires": { - "@opentelemetry/sdk-node": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/node": "14.18.25", "typescript": "4.4.4" }, @@ -45368,8 +45379,8 @@ "backcompat-node16": { "version": "file:experimental/backwards-compatibility/node16", "requires": { - "@opentelemetry/sdk-node": "0.47.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/sdk-node": "0.48.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "@types/node": "16.11.52", "typescript": "4.4.4" }, @@ -47868,13 +47879,13 @@ "version": "file:examples/esm-http-ts", "requires": { "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" } }, "espree": { @@ -47978,17 +47989,17 @@ "version": "file:examples/otlp-exporter-node", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-metrics-otlp-proto": "0.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0" } }, "execa": { @@ -49481,14 +49492,14 @@ "version": "file:examples/http", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-jaeger": "1.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "cross-env": "^6.0.0" } }, @@ -49574,14 +49585,14 @@ "version": "file:examples/https", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/exporter-jaeger": "1.20.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-http": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/exporter-jaeger": "1.21.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-http": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", "cross-env": "^6.0.0" } }, @@ -49648,17 +49659,6 @@ } } }, - "import-in-the-middle": { - "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", - "cjs-module-lexer": "^1.2.2", - "module-details-from-path": "^1.0.3" - } - }, "import-local": { "version": "3.1.0", "dev": true, @@ -51314,8 +51314,8 @@ "version": "file:experimental/examples/logs", "requires": { "@opentelemetry/api": "^1.7.0", - "@opentelemetry/api-logs": "0.47.0", - "@opentelemetry/sdk-logs": "0.47.0", + "@opentelemetry/api-logs": "0.48.0", + "@opentelemetry/sdk-logs": "0.48.0", "@types/node": "18.6.5", "ts-node": "^10.9.1" }, @@ -53718,13 +53718,13 @@ "@opencensus/instrumentation-http": "0.1.0", "@opencensus/nodejs-base": "0.1.0", "@opentelemetry/api": "1.7.0", - "@opentelemetry/exporter-prometheus": "0.47.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.47.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-node": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", - "@opentelemetry/shim-opencensus": "0.47.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-node": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.0", + "@opentelemetry/shim-opencensus": "0.48.0" } }, "opentracing": { @@ -54457,8 +54457,8 @@ "version": "file:experimental/examples/prometheus", "requires": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/exporter-prometheus": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0" + "@opentelemetry/exporter-prometheus": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0" } }, "promise-all-reject-late": { @@ -54496,9 +54496,9 @@ "version": "file:integration-tests/propagation-validation-server", "requires": { "@opentelemetry/api": "^1.0.0", - "@opentelemetry/context-async-hooks": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", "axios": "1.5.1", "body-parser": "1.19.0", "express": "4.17.3", @@ -57902,20 +57902,20 @@ "@babel/core": "^7.23.6", "@babel/preset-env": "^7.22.20", "@opentelemetry/api": "^1.3.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 13c5f2ac5e..0a4990bfe1 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.20.0", + "version": "1.21.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 f25af920cb..53c143ba17 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.20.0", + "version": "1.21.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 c57c65b055..b09c844e95 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.20.0", + "version": "1.21.0", "description": "OpenTelemetry Context Zone", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -55,7 +55,7 @@ "typescript": "4.4.4" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", "zone.js": "^0.11.0" }, "sideEffects": true, diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index cd69f8139d..8352567cea 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/core", - "version": "1.20.0", + "version": "1.21.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.20.0" + "@opentelemetry/semantic-conventions": "1.21.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core", "sideEffects": false diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index dc6151b48d..9c902b882f 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.20.0", + "version": "1.21.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.20.0", + "@opentelemetry/resources": "1.21.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.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 c189d2b916..1c815a0329 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.20.0", + "version": "1.21.0", "description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -93,10 +93,10 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 cfccc129ed..fa26ac2ef5 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.20.0", + "version": "1.21.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.20.0" + "@opentelemetry/core": "1.21.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 71d9dec1a5..d29a95eb12 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.20.0", + "version": "1.21.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.20.0" + "@opentelemetry/core": "1.21.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 faa68d9cbb..0ecb875cdd 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/resources", - "version": "1.20.0", + "version": "1.21.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.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 d07fe33991..4dedb26a3b 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.20.0", + "version": "1.21.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.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index dda03d5c4e..bd6c177497 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.20.0", + "version": "1.21.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.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/resources": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/context-async-hooks": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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 7167de9374..f7ebf99881 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.20.0", + "version": "1.21.0", "description": "OpenTelemetry Web Tracer", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -58,9 +58,9 @@ "@babel/core": "7.23.6", "@babel/preset-env": "7.22.20", "@opentelemetry/api": ">=1.0.0 <1.8.0", - "@opentelemetry/context-zone": "1.20.0", - "@opentelemetry/propagator-b3": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/context-zone": "1.21.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/resources": "1.21.0", "@types/jquery": "3.5.29", "@types/mocha": "10.0.6", "@types/node": "18.6.5", @@ -93,9 +93,9 @@ "@opentelemetry/api": ">=1.0.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" + "@opentelemetry/core": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 744f5c3236..1ee7586da3 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.20.0", + "version": "1.21.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 bb601392a3..8cd0f414fe 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.20.0", + "version": "1.21.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.20.0", - "@opentelemetry/propagator-jaeger": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", + "@opentelemetry/propagator-b3": "1.21.0", + "@opentelemetry/propagator-jaeger": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.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.20.0", - "@opentelemetry/semantic-conventions": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/semantic-conventions": "1.21.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 26db903db4..38495b57d3 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/sdk-metrics", - "version": "1.20.0", + "version": "1.21.0", "description": "OpenTelemetry metrics SDK", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -85,8 +85,8 @@ "@opentelemetry/api": ">=1.3.0 <1.8.0" }, "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/resources": "1.21.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 7625de4c8b..f144239f2e 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/template", - "version": "1.20.0", + "version": "1.21.0", "private": true, "publishConfig": { "access": "restricted" diff --git a/selenium-tests/package.json b/selenium-tests/package.json index 551fe52f4c..8af0f1f07d 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/selenium-tests", - "version": "1.21.0", + "version": "1.22.0", "private": true, "description": "OpenTelemetry Selenium Tests", "main": "index.js", @@ -56,16 +56,16 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/context-zone-peer-dep": "1.20.0", - "@opentelemetry/core": "1.20.0", - "@opentelemetry/exporter-trace-otlp-http": "0.47.0", - "@opentelemetry/exporter-zipkin": "1.20.0", - "@opentelemetry/instrumentation": "0.47.0", - "@opentelemetry/instrumentation-fetch": "0.47.0", - "@opentelemetry/instrumentation-xml-http-request": "0.47.0", - "@opentelemetry/sdk-metrics": "1.20.0", - "@opentelemetry/sdk-trace-base": "1.20.0", - "@opentelemetry/sdk-trace-web": "1.20.0", + "@opentelemetry/context-zone-peer-dep": "1.21.0", + "@opentelemetry/core": "1.21.0", + "@opentelemetry/exporter-trace-otlp-http": "0.48.0", + "@opentelemetry/exporter-zipkin": "1.21.0", + "@opentelemetry/instrumentation": "0.48.0", + "@opentelemetry/instrumentation-fetch": "0.48.0", + "@opentelemetry/instrumentation-xml-http-request": "0.48.0", + "@opentelemetry/sdk-metrics": "1.21.0", + "@opentelemetry/sdk-trace-base": "1.21.0", + "@opentelemetry/sdk-trace-web": "1.21.0", "zone.js": "0.11.4" } }