Skip to content

Commit

Permalink
Update aws-lambda-powertools/tracer imports
Browse files Browse the repository at this point in the history
  • Loading branch information
giufus committed Mar 20, 2024
1 parent 513042a commit 0453efe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/integrations/lambda-powertools.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ Middleware accepts the following options:

```javascript
import middy from '@middy/core';
import { Tracer, captureLambdaHandler } from '@aws-lambda-powertools/tracer';
import { Tracer } from '@aws-lambda-powertools/tracer';
import { captureLambdaHandler } from '@aws-lambda-powertools/tracer/middleware';
import { SecretsManagerClient } from '@aws-sdk/client-secrets-manager';

const tracer = new Tracer({
Expand Down

0 comments on commit 0453efe

Please sign in to comment.