We are using the New Relic Lambda Extension (enableFunctionLogs: true, disableAutoSubscription: true) to ship Lambda logs directly to New Relic, with CloudWatch intentionally disabled.
We are experiencing two issues:
Issue 1 — Timeout on NR Ingestion Endpoint
- Intermittent [NR_EXT] timeout errors when the extension attempts to send logs to the New Relic ingestion endpoint
- Results in log loss on affected invocations
- Not happening on every invocation — intermittent
Issue 2 — Incorrect aws_request_id Attribution on Retry
- When the extension retries a failed send, the aws_request_id is incorrectly attributed
- The retried log entry is tagged with the wrong invocation's request ID
Environment
Extension version: v39 (also observed in v48 for Issue 2)
Runtime: .NET
Deployment: Serverless Framework
Config: sendExtensionLogs: true, logLevel: debug
CloudWatch: Disabled via IAM Deny on logs:CreateLogGroup/Stream/PutLogEvents
Expected behavior
- Logs should be delivered to New Relic without timeout failures
- On retry, aws_request_id should be attributed to the correct invocation
Additional context
- Zero log loss is critical as CloudWatch is intentionally disabled
- Upgrading to v48 improves retry logic but does not resolve the aws_request_id attribution issue
Questions
- Is the [NR_EXT] timeout on the ingestion endpoint a known issue in v39? Is it resolved or mitigated in v48?
- Is the incorrect aws_request_id attribution on retry a known bug in v48? Is there a fix or workaround?
- Is there any recommended configuration to reduce timeout frequency or improve reliability when CloudWatch is disabled and only the extension is used?
We are using the New Relic Lambda Extension (enableFunctionLogs: true, disableAutoSubscription: true) to ship Lambda logs directly to New Relic, with CloudWatch intentionally disabled.
We are experiencing two issues:
Issue 1 — Timeout on NR Ingestion Endpoint
Issue 2 — Incorrect aws_request_id Attribution on Retry
Environment
Extension version: v39 (also observed in v48 for Issue 2)
Runtime: .NET
Deployment: Serverless Framework
Config: sendExtensionLogs: true, logLevel: debug
CloudWatch: Disabled via IAM Deny on logs:CreateLogGroup/Stream/PutLogEvents
Expected behavior
Additional context
Questions