Skip to content

Commit

Permalink
fix: remove redundant nestjs instrumentation from defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
overbit committed Mar 1, 2024
1 parent cc53cbe commit bf01e13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export class AppModule {}
<li><code>@opentelemetry/instrumentation-fs</code>ignores operations on files under <code>node_modules</code></li>
<li><code>@opentelemetry/instrumentation-express</code> has been disabled to reduce noise</li>
<li><code>@opentelemetry/instrumentation-graphql</code> has been configured to fit with nestjs (mergeItems: true, ignoreResolveSpans: true, ignoreTrivialResolveSpans: true) </li>
<li><code>@opentelemetry/instrumentation-nestjs-core</code> has been disabled to reduce noise being redundant </li>
</td>
<tr>
<td> spanProcessor </td>
Expand Down
3 changes: 3 additions & 0 deletions src/TracingConfigDefault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export const NodeAutoInstrumentationsDefaultConfig = <InstrumentationConfigMap>{
'@opentelemetry/instrumentation-net': {
enabled: false,
},
'@opentelemetry/instrumentation-nestjs-core': {
enabled: false,
},
'@opentelemetry/instrumentation-dns': {
enabled: false,
},
Expand Down

0 comments on commit bf01e13

Please sign in to comment.