Closed navihtot closed 2 years ago
This should be addressed by #76 and #101. Let us know if you continue to see this issue after upgrading.
@kolanos
this is still happening to my lambdas using the serverless-newrelic-lambda-layers
plugin
the ARN it's using is the latest java 11 in eu-west-1: arn:aws:lambda:eu-west-1:451483290750:layer:NewRelicJava11:23
I see that in us-east-1 the latest version is 31 instead of 23. could this mean that, because of the region I'm in, I don't have this fix available? if so, how can I know when it will be available in my region?
Relevant logs
2023-01-26T10:00:48.165+00:00 START RequestId: 18103e9c-e54c-41b0-ae70-8db5c1267ca0 Version: $LATEST
2023-01-26T10:01:18.526+00:00 [NR_EXT] New Relic Extension shutting down after 16 events
2023-01-26T10:01:18.727+00:00 [NR_EXT] Log server terminating: http: Server closed
2023-01-26T10:01:18.853+00:00 [NR_EXT] Sent 1/1 New Relic payload batches with 1 log events successfully in 125.897ms (125ms to transmit 0.4kB).
2023-01-26T10:01:18.853+00:00 [NR_EXT] Extension shutdown after 2441981ms
2023-01-26T10:01:18.854Z 18103e9c-e54c-41b0-ae70-8db5c1267ca0 Task timed out after 30.69 seconds
2023-01-26T10:01:18.854+00:00 END RequestId: 18103e9c-e54c-41b0-ae70-8db5c1267ca0
2023-01-26T10:01:18.854+00:00 REPORT RequestId: 18103e9c-e54c-41b0-ae70-8db5c1267ca0 Duration: 30689.46 ms Billed Duration: 30000 ms Memory Size: 1024 MB Max Memory Used: 220 MB
@thiagosardinha AWS creates layer version numbers by incrementing from 1 when the region first received those layers. Exact numerical version can't be maintained across regions, so the "latest version" in each region might not have the same integer suffix.
There's a team working on a next-generation version of the extension, though it's a work in progress: https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-lambda-telemetry/
On some occasions it prolong my function execution to maximum time
Steps to Reproduce
not sure. a lot of invocations in a row.
Expected Behavior
Not to prolong my function execution for so much and cause unexpected costs on AWS. If it cannot deliver a message it should give up much faster.
Relevant Logs / Console output
Your Environment