Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if NR lambda layer sequence is important for successful instrumentation #231

Closed
chaudharysaket opened this issue May 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chaudharysaket
Copy link
Contributor

Description

Investigate if NR lambda layer sequence is important for successful instrumentation
Copying content from Ruby issue to see if same is applicable for other runtimes.
It has been reported that the New Relic layer must be the first one that is merged in, or else things will not function properly and the blue banner will persist. The blue banner refers to the text based "not yet instrumented" type notification at the top of the New Relic web UI for displaying a given Lambda function if New Relic has learned of the function through CloudWatch but not the New Relic Lambda extension.

We had previously thought that not only will the New Relic layer be okay coming second or later, but that it was actually a good thing for it to come as late as possible so that all gems to be auto-instrumented would have had a chance to load and be visible to the New Relic Ruby agent. And we had previously thought that even if those gems were not seen, the blue banner would still disappear and the extension's data for the overall function performance would still reach New Relic without issue.

We should investigate the layer order requirements and then see if the requirements can either be relaxed or addressed with updated documentation.

Steps to Reproduce

Expected Behaviour

Layer sequence should not have any role in successful instrumentation of lambda.

Relevant Logs / Console output

Your Environment

All Lambda runtime - python, Nodejs, Java

Additional context

@chaudharysaket chaudharysaket added the bug Something isn't working label May 17, 2024
@workato-integration
Copy link

@workato-integration
Copy link

Work has been completed on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant