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

Release 3.37.0 (version set and final changes) #1003

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

nr-swilloughby
Copy link
Contributor

3.37.0

Enhanced

  • Implemented a new approach to integrating New Relic with SLOG that is more lightweight, out of the way, and collects richer data. These changes have been constructed to be completely backwards-compatible with v1 of nrslog. Changes include:
    • Wrapping slog.Handler objects with errors to allow users to handle invalid use cases
    • A complete rework of log enrichment so that New Relic linking metadata does not invalidate JSON, BSON, or YAML scanners. This new approach will instead inject the linking metadata as a key-value pair.
    • Complete support for With(), WithGroup(), and attributes for automatic instrumentation.
    • Performance operations.
    • Robust testing (close to 90% coverage).
    • This updates logcontext-v2/nrslog to v1.4.0.
  • Now custom application tags (labels) may be added to all forwarded log events.
    • Enabled if ConfigAppLogForwardingLabelsEnabled(true) or NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED=TRUE
    • May exclude labels named in ConfigAppLogForwardingLabelsExclude("label1","label2",...) or NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_EXCLUDE="label1,label2,..."
    • Labels are defined via ConfigLabels(...) or NEW_RELIC_LABELS
  • Added memory allocation limit detection/response mechanism to facilitate calling custom functions to perform application-specific resource management functionality, report custom metrics or events, or take other appropriate actions, in response to rising heap memory size.

Support statement

We use the latest version of the Go language. At minimum, you should be using no version of Go older than what is supported by the Go team themselves.
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.

@nr-swilloughby nr-swilloughby changed the title fixed nil transaction handling in StartSegment transaction method, pr… Release 3.37.0 Feb 25, 2025
@nr-swilloughby nr-swilloughby changed the title Release 3.37.0 Release 3.37.0 (version set and final changes) Feb 25, 2025
@nr-swilloughby nr-swilloughby marked this pull request as ready for review February 25, 2025 00:59
@iamemilio
Copy link
Contributor

LGTM, good catch on the nil segment issue

@nr-swilloughby nr-swilloughby merged commit 7043c7a into newrelic:develop Feb 26, 2025
53 checks passed
@nr-swilloughby nr-swilloughby deleted the release_3_37_0 branch February 26, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants