Skip to content

Commit

Permalink
[frontend] - disable fs instrumentation library (#1473)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
puckpuck authored Mar 21, 2024
1 parent f4eee80 commit 298c930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ the release.
([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460))
* [frontendproxy] remove deprecated start_child_span option
([#1469](https://github.com/open-telemetry/opentelemetry-demo/pull/1469))
* [frontend] disable instrumentation-fs library
([#1473](https://github.com/open-telemetry/opentelemetry-demo/pull/1473))

## 1.8.0

Expand Down
4 changes: 2 additions & 2 deletions src/frontend/utils/telemetry/Instrumentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
})
],
Expand Down

0 comments on commit 298c930

Please sign in to comment.