Skip to content

Commit

Permalink
docs: added notice in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi committed Feb 17, 2022
1 parent cdc5f06 commit 5502a30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/core/tracer.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ For a **complete list** of supported environment variables, refer to [this secti

#### Example using AWS Serverless Application Model (SAM)

The `Tracer` utility is instantiated outside of the Lambda handler. In doing this, the same instance can be used across multiple invocations inside the same execution environment. This allows `Metrics` to be aware of things like whether or not a given invocation had a cold start or not.

=== "handler.ts"

```typescript hl_lines="1 4"
Expand Down

0 comments on commit 5502a30

Please sign in to comment.