From 9508c33e20f0af83fa5b7b63a0fb7d399464fea3 Mon Sep 17 00:00:00 2001 From: kobi-co <112798986+kobi-co@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:24:07 +0300 Subject: [PATCH] chore: upgrade instrumentations to otel 1.17.1/0.44.0 (#266) * bump: align otel versions * bump: align otel versions * bump: align otel versions --- README.md | 2 +- .../resource-detector-deployment/package.json | 10 +++++----- .../node/resource-detector-git/package.json | 10 +++++----- .../resource-detector-service/package.json | 10 +++++----- .../resource-detector-sync-api/package.json | 6 +++--- .../instrumentation-elasticsearch/package.json | 14 +++++++------- packages/instrumentation-express/package.json | 18 +++++++++--------- packages/instrumentation-kafkajs/package.json | 12 ++++++------ packages/instrumentation-neo4j/package.json | 14 +++++++------- .../instrumentation-node-cache/package.json | 18 +++++++++--------- .../instrumentation-sequelize/package.json | 16 ++++++++-------- packages/instrumentation-typeorm/package.json | 16 ++++++++-------- packages/propagation-utils/package.json | 4 ++-- packages/span-transformations/package.json | 6 +++--- propagators/propagator-selective/package.json | 4 ++-- 15 files changed, 80 insertions(+), 80 deletions(-) diff --git a/README.md b/README.md index c2cb327a..9b12a63f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The instrumentations in this repo are: - strictly complies with [open telemetry semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/tree/main/specification/trace/semantic_conventions) - up to date with latest SDK version -**Compatible with [SDK stable ^1.13.0](https://github.com/open-telemetry/opentelemetry-js/tree/v1.13.0) and [SDK experimental ^0.39.1](https://github.com/open-telemetry/opentelemetry-js/tree/experimental/v0.39.1)** +**Compatible with [SDK stable ^1.17.1](https://github.com/open-telemetry/opentelemetry-js/tree/v1.17.1) and [SDK experimental ^0.44.0](https://github.com/open-telemetry/opentelemetry-js/tree/experimental/v0.44.0)** ## Instrumentations | Instrumentation Package | Instrumented Lib | NPM | |---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------| --- | diff --git a/detectors/node/resource-detector-deployment/package.json b/detectors/node/resource-detector-deployment/package.json index 5a244002..56b564dc 100644 --- a/detectors/node/resource-detector-deployment/package.json +++ b/detectors/node/resource-detector-deployment/package.json @@ -33,19 +33,19 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/resources": "~1.3.0", - "@opentelemetry/semantic-conventions": "^1.0.0", + "@opentelemetry/resources": "~1.17.1", + "@opentelemetry/semantic-conventions": "^1.17.1", "opentelemetry-resource-detector-sync-api": "^0.28.0" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "ts-node": "^9.1.1", "typescript": "4.3.4" }, diff --git a/detectors/node/resource-detector-git/package.json b/detectors/node/resource-detector-git/package.json index e03df7fd..e4ddc616 100644 --- a/detectors/node/resource-detector-git/package.json +++ b/detectors/node/resource-detector-git/package.json @@ -34,21 +34,21 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/resources": "~1.3.0", - "@opentelemetry/semantic-conventions": "^1.0.0", + "@opentelemetry/resources": "~1.17.1", + "@opentelemetry/semantic-conventions": "^1.17.1", "opentelemetry-resource-detector-sync-api": "^0.28.0", "uuid": "^8.3.2" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "@types/mocha": "^8.2.2", "@types/node": "^14.0.0", "expect": "^26.6.2", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "sinon": "^11.1.1", "ts-node": "^9.1.1", "typescript": "4.3.4" diff --git a/detectors/node/resource-detector-service/package.json b/detectors/node/resource-detector-service/package.json index 79d8e189..e88032f6 100644 --- a/detectors/node/resource-detector-service/package.json +++ b/detectors/node/resource-detector-service/package.json @@ -33,20 +33,20 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/resources": "~1.3.0", - "@opentelemetry/semantic-conventions": "^1.0.0", + "@opentelemetry/resources": "~1.17.1", + "@opentelemetry/semantic-conventions": "^1.17.1", "opentelemetry-resource-detector-sync-api": "^0.28.0", "uuid": "^8.3.2" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "ts-node": "^9.1.1", "typescript": "4.3.4" }, diff --git a/detectors/resource-detector-sync-api/package.json b/detectors/resource-detector-sync-api/package.json index 027ae703..f6087a00 100644 --- a/detectors/resource-detector-sync-api/package.json +++ b/detectors/resource-detector-sync-api/package.json @@ -30,13 +30,13 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/resources": "~1.3.0" + "@opentelemetry/resources": "~1.17.1" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "ts-node": "^9.1.1", "typescript": "4.3.4" } diff --git a/packages/instrumentation-elasticsearch/package.json b/packages/instrumentation-elasticsearch/package.json index 32e967e9..9d876033 100644 --- a/packages/instrumentation-elasticsearch/package.json +++ b/packages/instrumentation-elasticsearch/package.json @@ -42,24 +42,24 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0" + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1" }, "devDependencies": { "@elastic/elasticsearch": "^7.8.0", - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", "@types/chai": "^4.2.15", "@types/mocha": "^8.2.2", "chai": "^4.3.0", "expect": "^26.6.2", "mocha": "^8.4.0", "nock": "^13.0.9", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "sinon": "^9.2.4", "test-all-versions": "^5.0.1", "ts-node": "^9.1.1", diff --git a/packages/instrumentation-express/package.json b/packages/instrumentation-express/package.json index 5c6f0e85..1f8768de 100644 --- a/packages/instrumentation-express/package.json +++ b/packages/instrumentation-express/package.json @@ -32,20 +32,20 @@ "access": "public" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0", + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7" }, "devDependencies": { - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/instrumentation-http": "^0.39.1", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/instrumentation-http": "^0.44.0", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/express": "4.17.8", "@types/mocha": "^8.2.2", "axios": "0.21.1", @@ -53,7 +53,7 @@ "expect": "^26.6.2", "express": "4.17.1", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "test-all-versions": "^5.0.1", "ts-node": "^9.1.1", "typescript": "4.3.4" diff --git a/packages/instrumentation-kafkajs/package.json b/packages/instrumentation-kafkajs/package.json index eedc3c55..7491d1f5 100644 --- a/packages/instrumentation-kafkajs/package.json +++ b/packages/instrumentation-kafkajs/package.json @@ -35,21 +35,21 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0" + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1" }, "devDependencies": { "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "kafkajs": "^1.16.0", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "ts-node": "^9.1.1", "typescript": "4.3.4" }, diff --git a/packages/instrumentation-neo4j/package.json b/packages/instrumentation-neo4j/package.json index 5eb2503c..c3fe6dc5 100644 --- a/packages/instrumentation-neo4j/package.json +++ b/packages/instrumentation-neo4j/package.json @@ -41,21 +41,21 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0" + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1" }, "devDependencies": { - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", "neo4j-driver": "^4.2.2", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "test-all-versions": "^5.0.1", "ts-node": "^9.1.1", "typescript": "4.3.4" diff --git a/packages/instrumentation-node-cache/package.json b/packages/instrumentation-node-cache/package.json index 708341ba..497f902a 100644 --- a/packages/instrumentation-node-cache/package.json +++ b/packages/instrumentation-node-cache/package.json @@ -39,23 +39,23 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0" + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1" }, "devDependencies": { - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", "node-cache": "^5.1.2", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "test-all-versions": "^5.0.1", "ts-node": "^9.1.1", "typescript": "4.3.4" diff --git a/packages/instrumentation-sequelize/package.json b/packages/instrumentation-sequelize/package.json index a454e772..c815a70b 100644 --- a/packages/instrumentation-sequelize/package.json +++ b/packages/instrumentation-sequelize/package.json @@ -39,22 +39,22 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.14.0" + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1" }, "devDependencies": { - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", "mysql2": "^2.2.5", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "pg": "^8.4.2", "sequelize": "^5.22.0", "sqlite3": "^5.0.2", diff --git a/packages/instrumentation-typeorm/package.json b/packages/instrumentation-typeorm/package.json index b6ece81d..8222e650 100644 --- a/packages/instrumentation-typeorm/package.json +++ b/packages/instrumentation-typeorm/package.json @@ -35,22 +35,22 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": "^1.6.0" }, "dependencies": { - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/instrumentation": "^0.41.0", - "@opentelemetry/semantic-conventions": "^1.13.0", + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/instrumentation": "^0.44.0", + "@opentelemetry/semantic-conventions": "^1.17.1", "is-promise": "^4.0.0" }, "devDependencies": { - "@opentelemetry/api": "^1.3.0", - "@opentelemetry/contrib-test-utils": "^0.34.0", - "@opentelemetry/sdk-trace-base": "^1.8.0", + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/contrib-test-utils": "^0.34.2", + "@opentelemetry/sdk-trace-base": "^1.17.1", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0", - "opentelemetry-instrumentation-mocha": "0.0.1-rc.7", + "opentelemetry-instrumentation-mocha": "0.0.7-alpha.1", "reflect-metadata": "^0.1.13", "sqlite3": "^5.0.2", "test-all-versions": "^5.0.1", diff --git a/packages/propagation-utils/package.json b/packages/propagation-utils/package.json index 5b3e7e96..73770b48 100644 --- a/packages/propagation-utils/package.json +++ b/packages/propagation-utils/package.json @@ -34,11 +34,11 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "@types/node": "^14.14.8", "typescript": "4.3.4" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" } } diff --git a/packages/span-transformations/package.json b/packages/span-transformations/package.json index 79b0a6b4..703453be 100644 --- a/packages/span-transformations/package.json +++ b/packages/span-transformations/package.json @@ -24,9 +24,9 @@ "test": "mocha" }, "dependencies": { - "@opentelemetry/api": "^1.0.0", - "@opentelemetry/core": "^1.13.0", - "@opentelemetry/sdk-trace-base": "^1.8.0" + "@opentelemetry/api": "^1.6.0", + "@opentelemetry/core": "^1.17.1", + "@opentelemetry/sdk-trace-base": "^1.17.1" }, "devDependencies": { "@types/mocha": "^8.2.2", diff --git a/propagators/propagator-selective/package.json b/propagators/propagator-selective/package.json index 614fd3ff..b1c0f19a 100644 --- a/propagators/propagator-selective/package.json +++ b/propagators/propagator-selective/package.json @@ -28,10 +28,10 @@ "url": "https://github.com/aspecto-io/opentelemetry-ext-js/issues" }, "peerDependencies": { - "@opentelemetry/api": "^1.0.0" + "@opentelemetry/api": "^1.6.0" }, "devDependencies": { - "@opentelemetry/api": "^1.0.0", + "@opentelemetry/api": "^1.6.0", "@types/mocha": "^8.2.2", "expect": "^26.6.2", "mocha": "^8.4.0",