1 Answer
- Newest
- Most votes
- Most comments
2
Hello,
The behavior you're seeing is expected for your use case, which is considered to be using a custom runtime. According to the custom runtimes documentation, "Initialization counts towards billed execution time and timeout.". This means that the "billed duration" (i.e. the "Duration" metric) would equal the invocation duration + init duration. The metrics you're seeing in the "Most recent 1000 invocations" panel are extracted from the logs entries.
Relevant content
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 22 days ago

Ohhhhhh, I was not expecting such a subtle message about it, but thinking like this, it makes total sense. I hope the Duration metric would be show just invocation in the future, that would be awesome, but for now, the metric filter will have to do xD. Thanks!