-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
aws-λ-extensionAWS Lambda ExtensionAWS Lambda ExtensionbugSomething isn't workingSomething isn't working
Milestone
Description
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).
- Extension always drops the last
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. #360
To Reproduce
Steps to reproduce the behavior:
- Run a lambda function along with the extension.
- Invoke the function a bunch of times.
- Observe cloudwatch logs for a warning message
report event request id didn't match the previous event id
. - Observe the number of metrics with
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)Metadata
Metadata
Assignees
Labels
aws-λ-extensionAWS Lambda ExtensionAWS Lambda ExtensionbugSomething isn't workingSomething isn't working