Skip to content

Commit 3aa9078

Browse files
authored
docs(node): Remove old occurrences of tracingHandler (#14889)
The `TracingHandler` is deprecated since v8, but some JSDocs still mention the usage of it which can be misleading.
1 parent 7819140 commit 3aa9078

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-serverless/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface WrapperOptions {
5151
captureAllSettledReasons: boolean;
5252
/**
5353
* Automatically trace all handler invocations.
54-
* You may want to disable this if you use express within Lambda (use tracingHandler instead).
54+
* You may want to disable this if you use express within Lambda.
5555
* @default true
5656
*/
5757
startTrace: boolean;

packages/core/src/types-hoist/samplingcontext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface SamplingContext extends CustomSamplingContext {
3535
location?: WorkerLocation;
3636

3737
/**
38-
* Object representing the incoming request to a node server. Passed by default when using the TracingHandler.
38+
* Object representing the incoming request to a node server.
3939
*/
4040
request?: ExtractedNodeRequestData;
4141

0 commit comments

Comments
 (0)