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
Describe the bug
It is possible that function logs are reported without the faas.execution field set since the current code assumes that both platform.start and function logs for a given invocation will be reported in the same batch (relevant code).
To Reproduce
Steps to reproduce the behavior:
Run a lambda function generating function logs with the latest version of extension (built from main).
Invoke the function a bunch of times.
Observe the missing faas.execution field on Kibana for some logs.
Expected behavior
All logs should have faas.execution set. This being said, it is not always possible to have faas.execution especially if the platform.start and function logs are delivered to two separate instances which I think should be possible.
Provide logs (if relevant):
^ Snapshot showing missing faas.execution in logs.
The text was updated successfully, but these errors were encountered:
APM AWS Lambda extension version (
main
):Describe the bug
It is possible that function logs are reported without the
faas.execution
field set since the current code assumes that bothplatform.start
andfunction
logs for a given invocation will be reported in the same batch (relevant code).To Reproduce
Steps to reproduce the behavior:
faas.execution
field on Kibana for some logs.Expected behavior
All logs should have
faas.execution
set. This being said, it is not always possible to havefaas.execution
especially if theplatform.start
andfunction
logs are delivered to two separate instances which I think should be possible.Provide logs (if relevant):
![Screenshot 2022-10-20 at 1 03 36 PM](https://user-images.githubusercontent.com/1427601/196860687-89a33e7b-145a-4a7f-bad6-9feae244fd68.png)
^ Snapshot showing missing
faas.execution
in logs.The text was updated successfully, but these errors were encountered: