You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/commons/src/Utility.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@
10
10
* To learn more about the Lambda execution environment lifecycle, see the [Execution environment section](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html) of the AWS Lambda documentation.
11
11
*
12
12
* As a Powertools for AWS Lambda (TypeScript) user you probably won't be using this class directly, in fact if you use other Powertools for AWS utilities the cold start heuristic found here is already used to:
13
-
* * Add a `coldStart` key to the structured logs when injecting context information in `Logger`
14
-
* * Emit a metric during a cold start function invocation in `Metrics`
15
-
* * Annotate the invocation segment with a `coldStart` key in `Tracer`
13
+
* - Add a `coldStart` key to the structured logs when injecting context information in `Logger`
14
+
* - Emit a metric during a cold start function invocation in `Metrics`
15
+
* - Annotate the invocation segment with a `coldStart` key in `Tracer`
16
16
*
17
17
* If you want to use this logic in your own utilities, `Utility` provides two methods:
0 commit comments