Skip to content

Commit 865428a

Browse files
committed
Remove instrumentation for packages that should not be used in lambda
1 parent 147d871 commit 865428a

File tree

3 files changed

+0
-67
lines changed

3 files changed

+0
-67
lines changed

nodejs/package-lock.json

Lines changed: 0 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/packages/layer/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@
5050
"@opentelemetry/instrumentation-bunyan": "^0.45.1",
5151
"@opentelemetry/instrumentation-cassandra-driver": "^0.45.1",
5252
"@opentelemetry/instrumentation-connect": "^0.43.1",
53-
"@opentelemetry/instrumentation-cucumber": "^0.14.1",
5453
"@opentelemetry/instrumentation-dataloader": "^0.16.1",
5554
"@opentelemetry/instrumentation-dns": "^0.43.0",
5655
"@opentelemetry/instrumentation-express": "^0.47.0",
5756
"@opentelemetry/instrumentation-fs": "^0.19.1",
58-
"@opentelemetry/instrumentation-generic-pool": "^0.43.1",
5957
"@opentelemetry/instrumentation-graphql": "^0.47.0",
6058
"@opentelemetry/instrumentation-grpc": "^0.57.0",
6159
"@opentelemetry/instrumentation-hapi": "^0.45.0",
@@ -64,7 +62,6 @@
6462
"@opentelemetry/instrumentation-kafkajs": "^0.7.1",
6563
"@opentelemetry/instrumentation-knex": "^0.44.1",
6664
"@opentelemetry/instrumentation-koa": "^0.47.0",
67-
"@opentelemetry/instrumentation-lru-memoizer": "^0.44.1",
6865
"@opentelemetry/instrumentation-memcached": "^0.43.1",
6966
"@opentelemetry/instrumentation-mongodb": "^0.51.0",
7067
"@opentelemetry/instrumentation-mongoose": "^0.46.1",

nodejs/packages/layer/src/wrapper.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ async function defaultConfigureInstrumentations() {
141141
);
142142
instrumentations.push(new ConnectInstrumentation());
143143
}
144-
if (activeInstrumentations.has('cucumber')) {
145-
const { CucumberInstrumentation } = await import(
146-
'@opentelemetry/instrumentation-cucumber'
147-
);
148-
instrumentations.push(new CucumberInstrumentation());
149-
}
150144
if (activeInstrumentations.has('dataloader')) {
151145
const { DataloaderInstrumentation } = await import(
152146
'@opentelemetry/instrumentation-dataloader'
@@ -171,12 +165,6 @@ async function defaultConfigureInstrumentations() {
171165
);
172166
instrumentations.push(new FsInstrumentation());
173167
}
174-
if (activeInstrumentations.has('generic-pool')) {
175-
const { GenericPoolInstrumentation } = await import(
176-
'@opentelemetry/instrumentation-generic-pool'
177-
);
178-
instrumentations.push(new GenericPoolInstrumentation());
179-
}
180168
if (activeInstrumentations.has('graphql')) {
181169
const { GraphQLInstrumentation } = await import(
182170
'@opentelemetry/instrumentation-graphql'
@@ -225,12 +213,6 @@ async function defaultConfigureInstrumentations() {
225213
);
226214
instrumentations.push(new KoaInstrumentation());
227215
}
228-
if (activeInstrumentations.has('lru-memoizer')) {
229-
const { LruMemoizerInstrumentation } = await import(
230-
'@opentelemetry/instrumentation-lru-memoizer'
231-
);
232-
instrumentations.push(new LruMemoizerInstrumentation());
233-
}
234216
if (activeInstrumentations.has('memcached')) {
235217
const { MemcachedInstrumentation } = await import(
236218
'@opentelemetry/instrumentation-memcached'

0 commit comments

Comments
 (0)