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
Description
I have configured new relic python lambda layer for my lambda service , and also configured all the required env vars, my license key belongs to eu region and starts with eu**, but new relic continues to pick up the otlp host for US region instead, i tried setting up env vars for OTLP, but found to be invalid.
Expected Behavior
Based on my license key, as per the new relic source code, it should pick eu otlp host
def default_host(license_key):
if not license_key:
return "collector.newrelic.com"
region_aware_match = re.match("^(.+?)x", license_key)
if not region_aware_match:
return "collector.newrelic.com"
region = region_aware_match.group(1)
host = f"collector.{region}.nr-data.net"
return host
Troubleshooting or NR Diag results 2025-02-20 07:04:45,308 (15/NR-Activate-Session/OurApp) newrelic.core.config WARNING - Unable to find corresponding OTLP host using default otlp.nr-data.net
Steps to Reproduce
Create a docker image with the new relic python lambda layer and configure the license key from EU region.
Your Environment
Python version : 3.10
Env: AWS Lambda
The text was updated successfully, but these errors were encountered:
When in serverless mode the OTLP connection is not supposed to be enabled. We don't connect to a real backend directly with the agent, and rely instead on the lambda extension layer. That doesn't have any current ability to speak OTLP, so we don't support using any data types sent over OTLP for lambda.
Description
I have configured new relic python lambda layer for my lambda service , and also configured all the required env vars, my license key belongs to eu region and starts with
eu**
, but new relic continues to pick up the otlp host for US region instead, i tried setting up env vars for OTLP, but found to be invalid.Expected Behavior
Based on my license key, as per the new relic source code, it should pick eu otlp host
Troubleshooting or NR Diag results
2025-02-20 07:04:45,308 (15/NR-Activate-Session/OurApp) newrelic.core.config WARNING - Unable to find corresponding OTLP host using default otlp.nr-data.net
Steps to Reproduce
Create a docker image with the new relic python lambda layer and configure the license key from EU region.
Your Environment
Python version : 3.10
Env: AWS Lambda
The text was updated successfully, but these errors were encountered: