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
APM AWS Lambda extensiom version (1.1.0 as well as current main):
Describe the bug
Extension drops the logs if the platform report metrics are reported in an invocation that does not immediately succeed the invocation generating the platform report (relevant code).
@lahsivjar Also in case that a function is only called once per lifetime (so every request is a cold start) lambda metrics get lost completely. With this issue we should also make sure that cached data is flushed when the Lambda runtime is going to be shut down.
lahsivjar
changed the title
Extension will drop platform report metrics if the metrics is reported in a future invocation
Extension drops platform report metrics under certain conditions
Nov 28, 2022
APM AWS Lambda extensiom version (
1.1.0
as well as currentmain
):Describe the bug
platform.report
metric for an execution environment.- [ ] Extension drops the(the logs API doesn't report this at all; further discussion can continue on the dedicated issue)platform.report
metric for the last invocation if this invocation times out/crashes. #360To Reproduce
Steps to reproduce the behavior:
report event request id didn't match the previous event id
.faas.billed_duration : *
to be equal tonumber of invocations - number of coldstarts
.Expected behavior
Extension doesn't drop platform report metrics and sends it to APM-Server.
Provide logs (if relevant):

^ Logs from cloudwatch showing dropped platform reports (the logs is observed using a lambda extension from a dev branch)The text was updated successfully, but these errors were encountered: