Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[operator/nodejs] document disabling node auto-instrumentations #4824

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use note alert for better highlighting
  • Loading branch information
JamieDanielson committed Jul 16, 2024
commit 7d57ad60fcf7dc9c0a7d3c64195eae5809726a16
9 changes: 6 additions & 3 deletions content/en/docs/kubernetes/operator/automatic.md
Original file line number Diff line number Diff line change
@@ -317,9 +317,12 @@ spec:
value: fs,grpc # comma-separated list of the instrumentation package names without the `@opentelemetry/instrumentation-` prefix.
```

> Note that `OTEL_NODE_ENABLED_INSTRUMENTATIONS` and
> `OTEL_NODE_DISABLED_INSTRUMENTATIONS` are mutually exclusive. If both are set,
> all instrumentations will be disabled.
{{% alert title="Notes" color="info" %}}

Note that `OTEL_NODE_ENABLED_INSTRUMENTATIONS` and
`OTEL_NODE_DISABLED_INSTRUMENTATIONS` are mutually exclusive. If both are set,
all instrumentations will be disabled.
{{% /alert %}}

#### Learn more {#js-learn-more}

10 changes: 7 additions & 3 deletions content/en/docs/zero-code/js/configuration.md
Original file line number Diff line number Diff line change
@@ -86,6 +86,10 @@ instrumentations:
OTEL_NODE_DISABLED_INSTRUMENTATIONS="fs,grpc"
```

> Note that `OTEL_NODE_ENABLED_INSTRUMENTATIONS` and
> `OTEL_NODE_DISABLED_INSTRUMENTATIONS` are mutually exclusive. If both are set,
> all instrumentations will be disabled.
{{% alert title="Notes" color="info" %}}

`OTEL_NODE_ENABLED_INSTRUMENTATIONS` and
`OTEL_NODE_DISABLED_INSTRUMENTATIONS` are mutually exclusive. If both are set,
all instrumentations will be disabled.

{{% /alert %}}
Loading