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

build(deps): bump github.com/newrelic/go-agent/v3 from 3.36.0 to 3.37.0 #384

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps github.com/newrelic/go-agent/v3 from 3.36.0 to 3.37.0.

Release notes

Sourced from github.com/newrelic/go-agent/v3's releases.

Release 3.37.0

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.

Fixed

  • Added protection around transaction methods to gracefully return when the transaction object is nil.

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.

Changelog

Sourced from github.com/newrelic/go-agent/v3's changelog.

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.

Fixed

  • Added protection around transaction methods to gracefully return when the transaction object is nil.

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.

Commits
  • c081f78 Merge pull request #1004 from newrelic/develop
  • 7043c7a Merge pull request #1003 from nr-swilloughby/release_3_37_0
  • 2f2a7fe typo in changelog
  • f6ca661 fixed nil transaction handling in StartSegment transaction method, preparatio...
  • 9e8e9fb Merge pull request #996 from nr-swilloughby/oom_heap_callback
  • f7b3d99 Merge branch 'develop' into oom_heap_callback
  • a5ec16d Custom log tagging (labels) on forwarded application log events (#1002)
  • d55d218 prevent all transaction methods from nil transaction errors (#1001)
  • 18613dc Merge pull request #997 from iamemilio/slog-2.0
  • e9de240 improved storage and caching of pre-compiled attributes and groups
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/newrelic/go-agent/v3](https://github.com/newrelic/go-agent) from 3.36.0 to 3.37.0.
- [Release notes](https://github.com/newrelic/go-agent/releases)
- [Changelog](https://github.com/newrelic/go-agent/blob/master/CHANGELOG.md)
- [Commits](newrelic/go-agent@v3.36.0...v3.37.0)

---
updated-dependencies:
- dependency-name: github.com/newrelic/go-agent/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner March 3, 2025 12:39
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 3, 2025

Dependabot tried to add @buildkite/pipelines-dispatch as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/buildkite/buildkite-agent-metrics/pulls/384/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the teams you specified is not a collaborator of the buildkite/buildkite-agent-metrics repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request

@DrJosh9000 DrJosh9000 merged commit ee540be into master Mar 4, 2025
1 check passed
@DrJosh9000 DrJosh9000 deleted the dependabot/go_modules/github.com/newrelic/go-agent/v3-3.37.0 branch March 4, 2025 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant