• /
  • EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Go agent v3.37.0

February 26, 2025Download

Importante

We recommend updating to the latest agent version as soon as it's available. If your organization has established practices that prevent you from upgrading to the latest version, ensure that your agents are regularly updated to a version that's at most 90 days old. Read more about keeping your agent up to date.

3.37.0

Added

  • 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.

Copyright © 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.