From 6e35cb05db626ecacea647a2731c5eece7f17bde Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Wed, 20 Mar 2024 17:10:56 -0400 Subject: [PATCH 1/2] disable fs instrumentation library Signed-off-by: Pierre Tessier --- src/frontend/utils/telemetry/Instrumentation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/utils/telemetry/Instrumentation.js b/src/frontend/utils/telemetry/Instrumentation.js index 6c4f0c989a..39b0b8501a 100644 --- a/src/frontend/utils/telemetry/Instrumentation.js +++ b/src/frontend/utils/telemetry/Instrumentation.js @@ -16,9 +16,9 @@ const sdk = new opentelemetry.NodeSDK({ traceExporter: new OTLPTraceExporter(), instrumentations: [ getNodeAutoInstrumentations({ - // only instrument fs if it is part of another trace + // disable fs instrumentation to reduce noise '@opentelemetry/instrumentation-fs': { - requireParentSpan: true, + enabled: false, }, }) ], From 2d6805e55553009d155346aaee7e69f629223e4d Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Wed, 20 Mar 2024 17:15:11 -0400 Subject: [PATCH 2/2] disable fs instrumentation library Signed-off-by: Pierre Tessier --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80d69ce843..cf828887df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ the release. ([#1448](https://github.com/open-telemetry/opentelemetry-demo/pull/1448)) * [cartservice] update .NET to .NET 8.0.3 ([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460)) +* [frontend] disable instrumentation-fs library + ([#1473](https://github.com/open-telemetry/opentelemetry-demo/pull/1473)) ## 1.8.0