I’ve been trying to make NewRelic-lamba CLI to instrument my functions as well as sent my logs straight from Lambda to NewRelic.
Back in December 2021 I nailed the process and made it work using the instructions listed on the newrelic-lambda cli Repo:
I made sure my AWS account and NewRelic accounts were connected, instrumented the functions, subscribed to the stream with no filter (as this makes sure I can send everything)
and had it all working.
A few weeks later - in January, I attempted the same process again and failed. Then I decided to run the functions I had configured in December, and they also failed.
Now I’m stuck. I went over the steps a dozen times and the instrumentation work - I get to see the invocations and even have access to the NewRelic logs, but once I start skiping cloudwatch to send logs into NewRelic: I got nothing.
Is there any information I can provide to help with this?
I already tried every method I could find, including unlinking and linking the accounts again. I currently have two different AWS accounts linked to NewRelic and none of them can produce results other than coping it from Cloudwatch.
I’m currently testing a python 3.8 function using the proper layer for the region in question and all the environment variables set on both the function and ‘newrelic-log-ingestion’