Skip to content

Commit 4cb4982

Browse files
committed
fix: update cold_start doc to reflect #125
1 parent d4f8a19 commit 4cb4982

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: docs/content/core/metrics.mdx

+6-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,12 @@ def lambda_handler(evt, ctx):
238238
...
239239
```
240240

241-
If it's a cold start, this feature will add a metric named `ColdStart` and a dimension named `function_name`.
241+
If it's a cold start invocation, this feature will:
242+
243+
* Create a separate EMF blob solely containing a metric named `ColdStart`
244+
* Add `function_name` and `service` dimensions
245+
246+
This has the advantage of keeping cold start metric separate from your application metrics.
242247

243248
## Testing your code
244249

0 commit comments

Comments
 (0)