You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(auto-instrumentations-node): disabling instrumentations via env var (#2174)
* feat(auto-instr-node): disabling instrumentations via env var
* create new func to reduce code duplication
* fix Object is possibly undefined
---------
Co-authored-by: Amir Blum <[email protected]>
To disable only [@opentelemetry/instrumentation-fs](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-fs):
95
+
96
+
```shell
97
+
export OTEL_NODE_DISABLED_INSTRUMENTATIONS="fs"
98
+
```
99
+
93
100
To enable logging for troubleshooting, set the log level by setting the `OTEL_LOG_LEVEL` environment variable to one of the following:
0 commit comments