Skip to content

Commit 5502a30

Browse files
committed
docs: added notice in docs
1 parent cdc5f06 commit 5502a30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/core/tracer.md

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ For a **complete list** of supported environment variables, refer to [this secti
4848

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

51+
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.
52+
5153
=== "handler.ts"
5254

5355
```typescript hl_lines="1 4"

0 commit comments

Comments
 (0)