Skip to content

Commit 6abcf5e

Browse files
committed
removed disableAwsContextPropagation configuration altogether
1 parent d2760d4 commit 6abcf5e

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

plugins/node/opentelemetry-instrumentation-aws-lambda/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ In your Lambda function configuration, add or update the `NODE_OPTIONS` environm
5757
| `eventContextExtractor` | `EventContextExtractor` (function) | Function for providing custom context extractor in order to support different event types that are handled by AWS Lambda (e.g., SQS, CloudWatch, Kinesis, API Gateway). |
5858
| `lambdaHandler` | `string` | By default, this instrumentation automatically determines the Lambda handler function to instrument. This option is used to override that behavior by explicitly specifying the Lambda handler to instrument. See [Specifying the Lambda Handler](#specifying-the-lambda-handler) for additional information. |
5959

60-
The following options are deprecated:
61-
62-
| Options | Type | Description |
63-
| ------- | ---- | ----------- |
64-
| `disableAwsContextPropagation` | `boolean` | By default, this instrumentation will try to read the context from the `_X_AMZN_TRACE_ID` environment variable set by Lambda, set this to `true` or set the environment variable `OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION=true` to disable this behavior |
65-
6660
### Hooks Usage Example
6761

6862
```js

plugins/node/opentelemetry-instrumentation-aws-lambda/src/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ export type EventContextExtractor = (
3838
export interface AwsLambdaInstrumentationConfig extends InstrumentationConfig {
3939
requestHook?: RequestHook;
4040
responseHook?: ResponseHook;
41-
/**
42-
* Not trace all incoming requests that match paths
43-
* @deprecated use the OTEL_PROPAGATORS env variable instead
44-
*/
45-
disableAwsContextPropagation?: boolean;
4641
eventContextExtractor?: EventContextExtractor;
4742
lambdaHandler?: string;
4843
}

0 commit comments

Comments
 (0)