Skip to content

Commit 298c930

Browse files
authored
[frontend] - disable fs instrumentation library (#1473)
* disable fs instrumentation library Signed-off-by: Pierre Tessier <pierre@pierretessier.com> * disable fs instrumentation library Signed-off-by: Pierre Tessier <pierre@pierretessier.com> --------- Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
1 parent f4eee80 commit 298c930

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ the release.
4343
([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460))
4444
* [frontendproxy] remove deprecated start_child_span option
4545
([#1469](https://github.com/open-telemetry/opentelemetry-demo/pull/1469))
46+
* [frontend] disable instrumentation-fs library
47+
([#1473](https://github.com/open-telemetry/opentelemetry-demo/pull/1473))
4648

4749
## 1.8.0
4850

src/frontend/utils/telemetry/Instrumentation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ const sdk = new opentelemetry.NodeSDK({
1616
traceExporter: new OTLPTraceExporter(),
1717
instrumentations: [
1818
getNodeAutoInstrumentations({
19-
// only instrument fs if it is part of another trace
19+
// disable fs instrumentation to reduce noise
2020
'@opentelemetry/instrumentation-fs': {
21-
requireParentSpan: true,
21+
enabled: false,
2222
},
2323
})
2424
],

0 commit comments

Comments
 (0)