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

RN(serverless): Serverless release note #18732

Merged
merged 17 commits into from
Oct 4, 2024

Conversation

cbehera-newrelic
Copy link
Contributor

  • Created a release note section for Serverless monitoring.

@cbehera-newrelic cbehera-newrelic added content requests related to docs site content from_tw Identifies issues/PRs from Tech Docs writers labels Sep 20, 2024
@cbehera-newrelic cbehera-newrelic self-assigned this Sep 20, 2024
Copy link

Hi @cbehera-newrelic 👋

Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

We will automatically generate a preview of your request, and will comment with a link when the preview is ready (usually 10 to 20 minutes).

Copy link

netlify bot commented Sep 20, 2024

Deploy Preview for docs-website-netlify ready!

Name Link
🔨 Latest commit c253ede
🔍 Latest deploy log https://app.netlify.com/sites/docs-website-netlify/deploys/66ffa38c14984c0008c13ed1
😎 Deploy Preview https://deploy-preview-18732--docs-website-netlify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cbehera-newrelic cbehera-newrelic marked this pull request as ready for review September 25, 2024 14:37
version: 2.3.11
---

## Notes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note section is a little confusing, are the crashes being fixed or are we notifying customers that they are happening?


* Gives priority to `NEW_RELIC_LICENSE_KEY` and bypass calls to `Secrets Manager` if `NEW_RELIC_LICENSE_KEY` is set.

* Handle Extension Warning for Node.js handlers using ES Modules. Even after accurately modifying the lambda handler to use newrelic-lambda-wrapper.handler and setting the environment variable NEW_RELIC_LAMBDA_HANDLER to be path to the initial handler, Extension was throwing warning. Used NEW_RELIC_USE_ESM to understand that customer is using ES module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last sentence is grammatically incorrect and needs to be fixed to say "to understand that the customer was using the ES module." (or an ES module, I'm not sure if there are multiple)

Copy link
Contributor

@jeff-colucci jeff-colucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems largely fine, I did find a few things that need to be fixed. Were these notes existing somewhere else that got transferred over to this site or are they all brand new?


## Notes

* Adds local testing for Extension. Local testing is enabled by setting `NEWRELIC_LOCAL_TESTING` to true. Currently it supports only Python runtime. It generates the lambda layers for `x86` and `arm` architecture layers using `publish.sh` script and invokes the test Lambdas using `test.sh` script.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please add back ticks to true, example true

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion for rephrase:
Adds local testing for Extension. Local testing is enabled by setting NEWRELIC_LOCAL_TESTING to true. Currently supports Python runtime only, and generates lambda layers for x86 and arm architecture using publish.sh and invokes the test Lambdas using test.sh script.


* Removes debug logs which get printed for each log line. Modifies confusing message log - mainLoop: blocking is confusing customer and adds payloadSize to the log message `Telemetry client error: %s, payload size: %d bytes"`.

* Updates on .NET Extension example to use newly released New Relic .NET lambda layer instead of OpenTracing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:
Lamda should be in upper case

Changed "lambda" to "Lambda"
Fixed review comments.
Copy link
Contributor

@adutta-newrelic adutta-newrelic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @cbehera-newrelic I have approved the PR. Thank you.

@cbehera-newrelic cbehera-newrelic merged commit 4e5be76 into develop Oct 4, 2024
18 checks passed
@cbehera-newrelic cbehera-newrelic deleted the NR-305932-serverless-release-note branch October 4, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content requests related to docs site content from_tw Identifies issues/PRs from Tech Docs writers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants