Skip to content

Commit

Permalink
docs(node): Remove old occurrences of tracingHandler (#14889)
Browse files Browse the repository at this point in the history
The `TracingHandler` is deprecated since v8, but some JSDocs still
mention the usage of it which can be misleading.
  • Loading branch information
s1gr1d authored Jan 2, 2025
1 parent 7819140 commit 3aa9078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-serverless/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface WrapperOptions {
captureAllSettledReasons: boolean;
/**
* Automatically trace all handler invocations.
* You may want to disable this if you use express within Lambda (use tracingHandler instead).
* You may want to disable this if you use express within Lambda.
* @default true
*/
startTrace: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types-hoist/samplingcontext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface SamplingContext extends CustomSamplingContext {
location?: WorkerLocation;

/**
* Object representing the incoming request to a node server. Passed by default when using the TracingHandler.
* Object representing the incoming request to a node server.
*/
request?: ExtractedNodeRequestData;

Expand Down

0 comments on commit 3aa9078

Please sign in to comment.