Skip to content

Commit

Permalink
fix: update cold_start doc to reflect #125
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Aug 22, 2020
1 parent d4f8a19 commit 4cb4982
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/content/core/metrics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,12 @@ def lambda_handler(evt, ctx):
...
```

If it's a cold start, this feature will add a metric named `ColdStart` and a dimension named `function_name`.
If it's a cold start invocation, this feature will:

* Create a separate EMF blob solely containing a metric named `ColdStart`
* Add `function_name` and `service` dimensions

This has the advantage of keeping cold start metric separate from your application metrics.

## Testing your code

Expand Down

0 comments on commit 4cb4982

Please sign in to comment.