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
Allow customer to manipulate auto-insstrumention both enable/disable (#107)
*Description of changes:*
Fully support NodeJS enable/disable configuration
```
if both OTEL_NODE_ENABLED_INSTRUMENTATIONS and OTEL_NODE_DISABLED_INSTRUMENTATIONS are not configured, set OTEL_NODE_ENABLED_INSTRUMENTATIONS="aws-sdk,aws-lambda"
else if OTEL_NODE_ENABLED_INSTRUMENTATIONS is configure and OTEL_NODE_DISABLED_INSTRUMENTATIONS is not, append OTEL_NODE_ENABLED_INSTRUMENTATIONS with "aws-lambda"
else if both OTEL_NODE_ENABLED_INSTRUMENTATIONS and OTEL_NODE_DISABLED_INSTRUMENTATIONS are configured, append OTEL_NODE_ENABLED_INSTRUMENTATIONS with "aws-lambda"
else do nothing
```
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
0 commit comments