I’m just starting our with New Relic but unfortunately hitting a few teething issues.
We run everything on AWS, and primarily use node.js lambdas to run everything. We also use the serverless library for deployments, so I used https://github.com/newrelic/serverless-newrelic-lambda-layers to get everything connected. I can now see all the lambdas and traces on the ‘Entity Explorer’ page.
I’ve also gone onto ‘Infrastructure’ and connected up all the AWS services that we use.
I was expecting to be able to go onto health map, service map and the APM pages to see everything, but all those pages are blank. Am I missing something? Is the lambda layer not an APM agent?
Maybe related but might not be…
When deploying one of the microservices I get these entries in the logs. I’m not sure if this error is a false positive or not, as I can see all the lambdas (and their traces in New Relic).
Serverless: Something went wrong while creating NewRelicLicenseKeySecret: ServerlessError: Parameter 'LicenseKey' must match pattern (?:eu-)?[0-9a-f]+(?:[A-Z]{4})?
Serverless: Adding NewRelic layer to graphql
Serverless: Existing New Relic integration found for this linked account and aws account, skipping creation.
Serverless: Found log subscription for graphql-dev-graphql, verifying configuration
Config in serverless.yml:
newRelic:
accountId: 29XXXXXX
apiKey: NRXXXXXXXXXXX
enableExtension: true
enableIntegration: true
logEnabled: true