Skip to content

Commit

Permalink
feat(otel): Upgrade OTEL deps to ^1.30.0
Browse files Browse the repository at this point in the history
Also updates `@opentelemetry/instrumentation` to `^0.57.0` and all
related instrumentations.
  • Loading branch information
AbhiPrasad committed Dec 30, 2024
1 parent e2f9625 commit 48fbe08
Show file tree
Hide file tree
Showing 10 changed files with 177 additions and 199 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/sdk-trace-node": "^1.25.1",
"@opentelemetry/sdk-trace-node": "^1.30.0",
"@sentry/node": "latest || *",
"@sentry/opentelemetry": "latest || *",
"@types/express": "4.17.17",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test:assert": "pnpm test"
},
"dependencies": {
"@opentelemetry/sdk-node": "0.52.1",
"@opentelemetry/exporter-trace-otlp-http": "0.52.1",
"@opentelemetry/sdk-node": "0.57.0",
"@opentelemetry/exporter-trace-otlp-http": "0.57.0",
"@sentry/core": "latest || *",
"@sentry/node": "latest || *",
"@sentry/opentelemetry": "latest || *",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"test:assert": "pnpm test"
},
"dependencies": {
"@opentelemetry/sdk-trace-node": "1.26.0",
"@opentelemetry/exporter-trace-otlp-http": "0.53.0",
"@opentelemetry/instrumentation-undici": "0.6.0",
"@opentelemetry/instrumentation-http": "0.53.0",
"@opentelemetry/instrumentation": "0.53.0",
"@opentelemetry/sdk-trace-node": "1.30.0",
"@opentelemetry/exporter-trace-otlp-http": "0.57.0",
"@opentelemetry/instrumentation-undici": "0.10.0",
"@opentelemetry/instrumentation-http": "0.57.0",
"@opentelemetry/instrumentation": "0.57.0",
"@sentry/core": "latest || *",
"@sentry/node": "latest || *",
"@sentry/opentelemetry": "latest || *",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test:assert": "pnpm test"
},
"dependencies": {
"@opentelemetry/sdk-node": "0.52.1",
"@opentelemetry/exporter-trace-otlp-http": "0.52.1",
"@opentelemetry/sdk-node": "0.57.0",
"@opentelemetry/exporter-trace-otlp-http": "0.57.0",
"@sentry/core": "latest || *",
"@sentry/node": "latest || *",
"@sentry/opentelemetry": "latest || *",
Expand Down
23 changes: 6 additions & 17 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
"engines": {
"node": ">=18"
},
"files": [
"/build/npm",
"/build/import-hook.mjs",
"/build/loader-hook.mjs"
],
"files": ["/build/npm", "/build/import-hook.mjs", "/build/loader-hook.mjs"],
"main": "build/npm/cjs/index.js",
"types": "build/npm/types/index.d.ts",
"exports": {
Expand Down Expand Up @@ -55,19 +51,17 @@
},
"typesVersions": {
"<5.0": {
"build/npm/types/index.d.ts": [
"build/npm/types-ts3.8/index.d.ts"
]
"build/npm/types/index.d.ts": ["build/npm/types-ts3.8/index.d.ts"]
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/instrumentation": "^0.57.0",
"@opentelemetry/instrumentation-aws-lambda": "0.50.0",
"@opentelemetry/instrumentation-aws-sdk": "0.48.0",
"@opentelemetry/instrumentation-aws-sdk": "0.49.0",
"@sentry/core": "8.45.0",
"@sentry/node": "8.45.0",
"@types/aws-lambda": "^8.10.62"
Expand Down Expand Up @@ -104,13 +98,8 @@
"nx": {
"targets": {
"build:bundle": {
"dependsOn": [
"build:transpile",
"build:types"
],
"outputs": [
"{projectRoot}/build/aws"
]
"dependsOn": ["build:transpile", "build:types"],
"outputs": ["{projectRoot}/build/aws"]
}
}
}
Expand Down
12 changes: 4 additions & 8 deletions packages/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
"engines": {
"node": ">=18"
},
"files": [
"/build",
"/*.d.ts",
"/*.d.ts.map"
],
"files": ["/build", "/*.d.ts", "/*.d.ts.map"],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/types/index.d.ts",
Expand Down Expand Up @@ -44,9 +40,9 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/instrumentation-nestjs-core": "0.43.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/instrumentation": "^0.57.0",
"@opentelemetry/instrumentation-nestjs-core": "0.44.0",
"@sentry/core": "8.45.0",
"@sentry/node": "8.45.0"
},
Expand Down
46 changes: 21 additions & 25 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"engines": {
"node": ">=18"
},
"files": [
"/build"
],
"files": ["/build"],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/types/index.d.ts",
Expand Down Expand Up @@ -56,9 +54,7 @@
},
"typesVersions": {
"<5.0": {
"build/types/index.d.ts": [
"build/types-ts3.8/index.d.ts"
]
"build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"]
}
},
"publishConfig": {
Expand All @@ -67,31 +63,31 @@
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-async-hooks": "^1.30.0",
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/instrumentation-amqplib": "^0.46.0",
"@opentelemetry/instrumentation-connect": "0.42.0",
"@opentelemetry/instrumentation-dataloader": "0.15.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/instrumentation": "^0.57.0",
"@opentelemetry/instrumentation-amqplib": "0.46.0",
"@opentelemetry/instrumentation-connect": "0.43.0",
"@opentelemetry/instrumentation-dataloader": "0.16.0",
"@opentelemetry/instrumentation-express": "0.47.0",
"@opentelemetry/instrumentation-fastify": "0.43.0",
"@opentelemetry/instrumentation-fs": "0.18.0",
"@opentelemetry/instrumentation-fastify": "0.44.0",
"@opentelemetry/instrumentation-fs": "0.19.0",
"@opentelemetry/instrumentation-generic-pool": "0.43.0",
"@opentelemetry/instrumentation-graphql": "0.46.0",
"@opentelemetry/instrumentation-hapi": "0.44.0",
"@opentelemetry/instrumentation-http": "0.56.0",
"@opentelemetry/instrumentation-ioredis": "0.46.0",
"@opentelemetry/instrumentation-kafkajs": "0.6.0",
"@opentelemetry/instrumentation-graphql": "0.47.0",
"@opentelemetry/instrumentation-hapi": "0.45.0",
"@opentelemetry/instrumentation-http": "0.57.0",
"@opentelemetry/instrumentation-ioredis": "0.47.0",
"@opentelemetry/instrumentation-kafkajs": "0.7.0",
"@opentelemetry/instrumentation-knex": "0.44.0",
"@opentelemetry/instrumentation-koa": "0.46.0",
"@opentelemetry/instrumentation-lru-memoizer": "0.43.0",
"@opentelemetry/instrumentation-koa": "0.47.0",
"@opentelemetry/instrumentation-lru-memoizer": "0.44.0",
"@opentelemetry/instrumentation-mongodb": "0.51.0",
"@opentelemetry/instrumentation-mongoose": "0.45.0",
"@opentelemetry/instrumentation-mysql": "0.44.0",
"@opentelemetry/instrumentation-mongoose": "0.46.0",
"@opentelemetry/instrumentation-mysql": "0.45.0",
"@opentelemetry/instrumentation-mysql2": "0.45.0",
"@opentelemetry/instrumentation-pg": "0.49.0",
"@opentelemetry/instrumentation-redis-4": "0.45.0",
"@opentelemetry/instrumentation-pg": "0.50.0",
"@opentelemetry/instrumentation-redis-4": "0.46.0",
"@opentelemetry/instrumentation-tedious": "0.18.0",
"@opentelemetry/instrumentation-undici": "0.9.0",
"@opentelemetry/instrumentation-undici": "0.10.0",
"@opentelemetry/resources": "^1.29.0",
"@opentelemetry/sdk-trace-base": "^1.29.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
Expand Down
18 changes: 7 additions & 11 deletions packages/opentelemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"engines": {
"node": ">=18"
},
"files": [
"/build"
],
"files": ["/build"],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/types/index.d.ts",
Expand All @@ -30,9 +28,7 @@
},
"typesVersions": {
"<5.0": {
"build/types/index.d.ts": [
"build/types-ts3.8/index.d.ts"
]
"build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"]
}
},
"publishConfig": {
Expand All @@ -43,16 +39,16 @@
},
"peerDependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/sdk-trace-base": "^1.29.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/instrumentation": "^0.57.0",
"@opentelemetry/sdk-trace-base": "^1.30.0",
"@opentelemetry/semantic-conventions": "^1.28.0"
},
"devDependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-async-hooks": "^1.30.0",
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/sdk-trace-base": "^1.29.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/sdk-trace-base": "^1.30.0",
"@opentelemetry/semantic-conventions": "^1.28.0"
},
"scripts": {
Expand Down
14 changes: 5 additions & 9 deletions packages/vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"engines": {
"node": ">=18"
},
"files": [
"/build"
],
"files": ["/build"],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/types/index.d.ts",
Expand All @@ -30,9 +28,7 @@
},
"typesVersions": {
"<5.0": {
"build/types/index.d.ts": [
"build/types-ts3.8/index.d.ts"
]
"build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"]
}
},
"publishConfig": {
Expand All @@ -44,9 +40,9 @@
},
"devDependencies": {
"@edge-runtime/types": "3.0.1",
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/resources": "^1.29.0",
"@opentelemetry/sdk-trace-base": "^1.29.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/resources": "^1.30.0",
"@opentelemetry/sdk-trace-base": "^1.30.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@sentry/opentelemetry": "8.45.0"
},
Expand Down
Loading

0 comments on commit 48fbe08

Please sign in to comment.