From 7aff23ebebbe209fa3b78c2e7f513c9cd2231be4 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 30 Nov 2021 14:06:58 -0500 Subject: [PATCH] feat: use latest instrumentation base (#769) --- examples/fastify/package.json | 2 +- metapackages/auto-instrumentations-node/package.json | 6 +++--- metapackages/auto-instrumentations-web/package.json | 6 +++--- .../package.json | 2 +- packages/opentelemetry-test-utils/package.json | 2 +- .../opentelemetry-instrumentation-aws-lambda/package.json | 2 +- .../node/opentelemetry-instrumentation-aws-sdk/package.json | 2 +- .../node/opentelemetry-instrumentation-bunyan/package.json | 2 +- .../opentelemetry-instrumentation-cassandra/package.json | 2 +- .../node/opentelemetry-instrumentation-connect/package.json | 2 +- plugins/node/opentelemetry-instrumentation-dns/package.json | 2 +- .../node/opentelemetry-instrumentation-express/package.json | 2 +- .../node/opentelemetry-instrumentation-fastify/package.json | 2 +- .../opentelemetry-instrumentation-generic-pool/package.json | 2 +- .../node/opentelemetry-instrumentation-graphql/package.json | 2 +- .../node/opentelemetry-instrumentation-hapi/package.json | 2 +- .../node/opentelemetry-instrumentation-ioredis/package.json | 2 +- .../node/opentelemetry-instrumentation-knex/package.json | 2 +- plugins/node/opentelemetry-instrumentation-koa/package.json | 2 +- .../opentelemetry-instrumentation-memcached/package.json | 2 +- .../node/opentelemetry-instrumentation-mongodb/package.json | 2 +- .../node/opentelemetry-instrumentation-mysql/package.json | 2 +- .../node/opentelemetry-instrumentation-mysql2/package.json | 2 +- .../opentelemetry-instrumentation-nestjs-core/package.json | 2 +- plugins/node/opentelemetry-instrumentation-net/package.json | 2 +- plugins/node/opentelemetry-instrumentation-pg/package.json | 2 +- .../node/opentelemetry-instrumentation-pino/package.json | 2 +- .../node/opentelemetry-instrumentation-redis/package.json | 2 +- .../node/opentelemetry-instrumentation-restify/package.json | 2 +- .../node/opentelemetry-instrumentation-router/package.json | 2 +- .../node/opentelemetry-instrumentation-winston/package.json | 2 +- .../package.json | 2 +- .../package.json | 4 ++-- .../src/instrumentation.ts | 2 +- 34 files changed, 39 insertions(+), 39 deletions(-) diff --git a/examples/fastify/package.json b/examples/fastify/package.json index 822fbe4eb8..1cae7b7aa9 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -40,7 +40,7 @@ "@opentelemetry/exporter-jaeger": "^1.0.0", "@opentelemetry/exporter-zipkin": "^1.0.0", "@opentelemetry/exporter-collector": "^0.25.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/instrumentation-fastify": "^0.25.0", "@opentelemetry/instrumentation-http": "^0.26.0", "@opentelemetry/sdk-trace-node": "^1.0.0", diff --git a/metapackages/auto-instrumentations-node/package.json b/metapackages/auto-instrumentations-node/package.json index 9c56c0beb7..d595b9c7cc 100644 --- a/metapackages/auto-instrumentations-node/package.json +++ b/metapackages/auto-instrumentations-node/package.json @@ -45,12 +45,12 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/instrumentation-dns": "^0.26.0", "@opentelemetry/instrumentation-express": "^0.26.0", "@opentelemetry/instrumentation-graphql": "^0.26.1", - "@opentelemetry/instrumentation-grpc": "^0.26.0", - "@opentelemetry/instrumentation-http": "^0.26.0", + "@opentelemetry/instrumentation-grpc": "^0.27.0", + "@opentelemetry/instrumentation-http": "^0.27.0", "@opentelemetry/instrumentation-ioredis": "^0.26.0", "@opentelemetry/instrumentation-koa": "^0.27.0", "@opentelemetry/instrumentation-mongodb": "^0.26.0", diff --git a/metapackages/auto-instrumentations-web/package.json b/metapackages/auto-instrumentations-web/package.json index 24e0c6a443..861171037c 100644 --- a/metapackages/auto-instrumentations-web/package.json +++ b/metapackages/auto-instrumentations-web/package.json @@ -60,10 +60,10 @@ "webpack-merge": "5.8.0" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/instrumentation-document-load": "^0.26.0", - "@opentelemetry/instrumentation-fetch": "^0.26.0", + "@opentelemetry/instrumentation-fetch": "^0.27.0", "@opentelemetry/instrumentation-user-interaction": "^0.26.0", - "@opentelemetry/instrumentation-xml-http-request": "^0.26.0" + "@opentelemetry/instrumentation-xml-http-request": "^0.27.0" } } diff --git a/packages/opentelemetry-browser-extension-autoinjection/package.json b/packages/opentelemetry-browser-extension-autoinjection/package.json index 42c4f8acdc..3a1c65773d 100644 --- a/packages/opentelemetry-browser-extension-autoinjection/package.json +++ b/packages/opentelemetry-browser-extension-autoinjection/package.json @@ -70,7 +70,7 @@ "@opentelemetry/core": "1.0.1", "@opentelemetry/exporter-otlp-http": "0.26.0", "@opentelemetry/exporter-zipkin": "1.0.1", - "@opentelemetry/instrumentation": "0.26.0", + "@opentelemetry/instrumentation": "0.27.0", "@opentelemetry/instrumentation-document-load": "^0.26.0", "@opentelemetry/instrumentation-fetch": "0.26.0", "@opentelemetry/instrumentation-xml-http-request": "0.26.0", diff --git a/packages/opentelemetry-test-utils/package.json b/packages/opentelemetry-test-utils/package.json index 83d5ed84fb..d98762bd91 100644 --- a/packages/opentelemetry-test-utils/package.json +++ b/packages/opentelemetry-test-utils/package.json @@ -46,7 +46,7 @@ "dependencies": { "@opentelemetry/core": "1.0.1", "@opentelemetry/exporter-jaeger": "1.0.1", - "@opentelemetry/instrumentation": "0.26.0", + "@opentelemetry/instrumentation": "0.27.0", "@opentelemetry/sdk-trace-node": "1.0.1", "@opentelemetry/resources": "1.0.1", "@opentelemetry/sdk-trace-base": "1.0.1", diff --git a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json index 8be545ed11..29ba1e1b61 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json @@ -61,7 +61,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/propagator-aws-xray": "^1.0.0", "@opentelemetry/resources": "^1.0.0", "@opentelemetry/semantic-conventions": "^1.0.0", diff --git a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json index e12f58815e..b36f36bf22 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json @@ -47,7 +47,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@opentelemetry/propagation-utils": "^0.26.0" }, diff --git a/plugins/node/opentelemetry-instrumentation-bunyan/package.json b/plugins/node/opentelemetry-instrumentation-bunyan/package.json index cdb4edd8f3..c56dae7ad0 100644 --- a/plugins/node/opentelemetry-instrumentation-bunyan/package.json +++ b/plugins/node/opentelemetry-instrumentation-bunyan/package.json @@ -65,7 +65,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@types/bunyan": "1.8.7" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-cassandra/package.json b/plugins/node/opentelemetry-instrumentation-cassandra/package.json index c591f27d67..b8fd1ae555 100644 --- a/plugins/node/opentelemetry-instrumentation-cassandra/package.json +++ b/plugins/node/opentelemetry-instrumentation-cassandra/package.json @@ -67,7 +67,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-connect/package.json b/plugins/node/opentelemetry-instrumentation-connect/package.json index 75017fdb18..5175f810e7 100644 --- a/plugins/node/opentelemetry-instrumentation-connect/package.json +++ b/plugins/node/opentelemetry-instrumentation-connect/package.json @@ -62,7 +62,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/connect": "3.4.35" } diff --git a/plugins/node/opentelemetry-instrumentation-dns/package.json b/plugins/node/opentelemetry-instrumentation-dns/package.json index 74e6c8ce31..a6b6ecad4c 100644 --- a/plugins/node/opentelemetry-instrumentation-dns/package.json +++ b/plugins/node/opentelemetry-instrumentation-dns/package.json @@ -65,7 +65,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "semver": "^7.3.2" } diff --git a/plugins/node/opentelemetry-instrumentation-express/package.json b/plugins/node/opentelemetry-instrumentation-express/package.json index b16fb0469b..6c306a2b1a 100644 --- a/plugins/node/opentelemetry-instrumentation-express/package.json +++ b/plugins/node/opentelemetry-instrumentation-express/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/express": "4.17.13" } diff --git a/plugins/node/opentelemetry-instrumentation-fastify/package.json b/plugins/node/opentelemetry-instrumentation-fastify/package.json index 4234ec24f6..5419c1ba18 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/package.json +++ b/plugins/node/opentelemetry-instrumentation-fastify/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "fastify": "^3.19.2" } diff --git a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json index 0ad0f9cbf6..52620bffb2 100644 --- a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json +++ b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json @@ -64,7 +64,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/generic-pool": "^3.1.9" } diff --git a/plugins/node/opentelemetry-instrumentation-graphql/package.json b/plugins/node/opentelemetry-instrumentation-graphql/package.json index aab706fef4..bd132abae7 100644 --- a/plugins/node/opentelemetry-instrumentation-graphql/package.json +++ b/plugins/node/opentelemetry-instrumentation-graphql/package.json @@ -61,7 +61,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@types/graphql": "14.5.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-hapi/package.json b/plugins/node/opentelemetry-instrumentation-hapi/package.json index 5a090449b1..43d18225c3 100644 --- a/plugins/node/opentelemetry-instrumentation-hapi/package.json +++ b/plugins/node/opentelemetry-instrumentation-hapi/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/hapi__hapi": "20.0.9" } diff --git a/plugins/node/opentelemetry-instrumentation-ioredis/package.json b/plugins/node/opentelemetry-instrumentation-ioredis/package.json index a34b8f8968..885225cba7 100644 --- a/plugins/node/opentelemetry-instrumentation-ioredis/package.json +++ b/plugins/node/opentelemetry-instrumentation-ioredis/package.json @@ -70,7 +70,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/ioredis": "4.26.6" } diff --git a/plugins/node/opentelemetry-instrumentation-knex/package.json b/plugins/node/opentelemetry-instrumentation-knex/package.json index e7339c6872..45f7f5825a 100644 --- a/plugins/node/opentelemetry-instrumentation-knex/package.json +++ b/plugins/node/opentelemetry-instrumentation-knex/package.json @@ -63,7 +63,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-koa/package.json b/plugins/node/opentelemetry-instrumentation-koa/package.json index 27e09a6455..6423478ddd 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/package.json +++ b/plugins/node/opentelemetry-instrumentation-koa/package.json @@ -66,7 +66,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/koa": "2.13.4", "@types/koa__router": "8.0.7" diff --git a/plugins/node/opentelemetry-instrumentation-memcached/package.json b/plugins/node/opentelemetry-instrumentation-memcached/package.json index 58e8fa5036..aaf51ad1b4 100644 --- a/plugins/node/opentelemetry-instrumentation-memcached/package.json +++ b/plugins/node/opentelemetry-instrumentation-memcached/package.json @@ -66,7 +66,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/memcached": "^2.2.6" } diff --git a/plugins/node/opentelemetry-instrumentation-mongodb/package.json b/plugins/node/opentelemetry-instrumentation-mongodb/package.json index 483268355a..03ef659706 100644 --- a/plugins/node/opentelemetry-instrumentation-mongodb/package.json +++ b/plugins/node/opentelemetry-instrumentation-mongodb/package.json @@ -67,7 +67,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/mongodb": "3.6.20" } diff --git a/plugins/node/opentelemetry-instrumentation-mysql/package.json b/plugins/node/opentelemetry-instrumentation-mysql/package.json index 38321d58df..c5aee34542 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql/package.json @@ -62,7 +62,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/mysql": "2.15.19" } diff --git a/plugins/node/opentelemetry-instrumentation-mysql2/package.json b/plugins/node/opentelemetry-instrumentation-mysql2/package.json index e6dfe9cde3..ab3f1784d8 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql2/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql2/package.json @@ -65,7 +65,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json index 8ef1a36228..2231624400 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json @@ -74,7 +74,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-net/package.json b/plugins/node/opentelemetry-instrumentation-net/package.json index 0b7a3686e1..37c77dbfb4 100644 --- a/plugins/node/opentelemetry-instrumentation-net/package.json +++ b/plugins/node/opentelemetry-instrumentation-net/package.json @@ -63,7 +63,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-pg/package.json b/plugins/node/opentelemetry-instrumentation-pg/package.json index 6ef72b07b4..9d088768ef 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/package.json +++ b/plugins/node/opentelemetry-instrumentation-pg/package.json @@ -74,7 +74,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/pg": "8.6.1", "@types/pg-pool": "2.0.3" diff --git a/plugins/node/opentelemetry-instrumentation-pino/package.json b/plugins/node/opentelemetry-instrumentation-pino/package.json index 12c1f4b2ba..170c22ee4b 100644 --- a/plugins/node/opentelemetry-instrumentation-pino/package.json +++ b/plugins/node/opentelemetry-instrumentation-pino/package.json @@ -67,7 +67,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "pino": "7.2.0", "semver": "^7.3.5" } diff --git a/plugins/node/opentelemetry-instrumentation-redis/package.json b/plugins/node/opentelemetry-instrumentation-redis/package.json index cf65040365..b23219b43c 100644 --- a/plugins/node/opentelemetry-instrumentation-redis/package.json +++ b/plugins/node/opentelemetry-instrumentation-redis/package.json @@ -69,7 +69,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/redis": "2.8.31" } diff --git a/plugins/node/opentelemetry-instrumentation-restify/package.json b/plugins/node/opentelemetry-instrumentation-restify/package.json index 3e6e89849d..6e3095e0a4 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/package.json +++ b/plugins/node/opentelemetry-instrumentation-restify/package.json @@ -63,7 +63,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0", "@types/restify": "4.3.8" } diff --git a/plugins/node/opentelemetry-instrumentation-router/package.json b/plugins/node/opentelemetry-instrumentation-router/package.json index af7cd9c7ed..d174008214 100644 --- a/plugins/node/opentelemetry-instrumentation-router/package.json +++ b/plugins/node/opentelemetry-instrumentation-router/package.json @@ -62,7 +62,7 @@ "typescript": "4.3.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/semantic-conventions": "^1.0.0" } } \ No newline at end of file diff --git a/plugins/node/opentelemetry-instrumentation-winston/package.json b/plugins/node/opentelemetry-instrumentation-winston/package.json index e34efe057c..74f0f1915c 100644 --- a/plugins/node/opentelemetry-instrumentation-winston/package.json +++ b/plugins/node/opentelemetry-instrumentation-winston/package.json @@ -68,6 +68,6 @@ "winston2": "npm:winston@2.4.5" }, "dependencies": { - "@opentelemetry/instrumentation": "^0.26.0" + "@opentelemetry/instrumentation": "^0.27.0" } } diff --git a/plugins/web/opentelemetry-instrumentation-document-load/package.json b/plugins/web/opentelemetry-instrumentation-document-load/package.json index c8131c2817..c542873872 100644 --- a/plugins/web/opentelemetry-instrumentation-document-load/package.json +++ b/plugins/web/opentelemetry-instrumentation-document-load/package.json @@ -80,7 +80,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/sdk-trace-base": "^1.0.0", "@opentelemetry/sdk-trace-web": "^1.0.0", "@opentelemetry/semantic-conventions": "^1.0.0" diff --git a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json index 7103c31d62..a42452d335 100644 --- a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json +++ b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json @@ -51,7 +51,7 @@ "@babel/core": "7.15.0", "@opentelemetry/api": "1.0.2", "@opentelemetry/context-zone-peer-dep": "1.0.1", - "@opentelemetry/instrumentation-xml-http-request": "0.26.0", + "@opentelemetry/instrumentation-xml-http-request": "0.27.0", "@opentelemetry/sdk-trace-base": "1.0.1", "@types/jquery": "3.5.6", "@types/mocha": "7.0.2", @@ -83,7 +83,7 @@ }, "dependencies": { "@opentelemetry/core": "^1.0.0", - "@opentelemetry/instrumentation": "^0.26.0", + "@opentelemetry/instrumentation": "^0.27.0", "@opentelemetry/sdk-trace-web": "^1.0.0" }, "peerDependencies": { diff --git a/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts b/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts index cac04f49d5..ae30ea092d 100644 --- a/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts +++ b/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts @@ -46,7 +46,7 @@ export class UserInteractionInstrumentation extends InstrumentationBase readonly version = VERSION; moduleName = this.component; private _spansData = new WeakMap(); - private _zonePatched = false; + private _zonePatched?: boolean; // for addEventListener/removeEventListener state private _wrappedListeners = new WeakMap< Function | EventListenerObject,