Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 8, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/newrelic/go-agent/v3 v3.28.1v3.42.0 age confidence

Release Notes

newrelic/go-agent (github.com/newrelic/go-agent/v3)

v3.42.0: Release 3.42.0

Compare Source

3.42.0

Added
  • Added ConfigTransactionEventsMaxSamplesStoredand ConfigErrorCollectorMaxSamplesStored allowing full control of maximum samples stored for Transaction Events, Custom Insights Events, Error Events, and Log Events
  • Added support for the MultiValueHeaders property when extracting the headers from events.APIGatewayProxyResponse in nrlambda
    • Thank you to community member @​rittneje for contributing to this solution
Fixed
  • Removed unused variables and modernize by replacing interface{} with any in the nrpxg5 integration
  • Fixed a bug where error events did not correctly mark expected errors
    • Thank you to community member @​driimus for contributing to this solution
  • Bumped nrwriter integration to use v1.0.2
    • Thank you to community member @​hiicharm for spotting this.
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.

v3.41.0: Release 3.41.0

Compare Source

3.41.0

Added
  • Added DistributedTracer.Sampler config options for controlling the sampling behavior for Inbound Requests for distributed traces
    • To configure the sampler, added ConfigRemoteParentSampled(flag RemoteParentSamplingConfig) and ConfigRemoteParentNotSampled(flag RemoteParentSamplingConfig) which handles sampling behavior based on what the remote parent has flagged
    • Flags added are "always_on", "always_off", and "default" which can be called using RemoteParentSamplingConfig
    • Example: newrelic.ConfigRemoteParentSampled(newrelic.AlwaysOff)
  • Added OOM Monitoring Tests
  • Increased Secure Agent Test Coverage
Fixed
  • Updated third-party library versions due to reported security or other supportability issues:
    • github.com/gofiber/fiber/v2 from 2.52.7 to 2.52.9 in nrfiber integration
    • golang.org/x/net from 0.25.0 to 0.38.0 in nrconnect integration
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.

v3.40.1: Release 3.40.1

Compare Source

3.40.1

Fixed
  • Reverted utilization.go back to v3.39.0 release due to deadlock bug
  • Removed awssupport_test.go tests that added direct dependencies to go module
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.

v3.40.0: Release 3.40.0

Compare Source

3.40.0

Added
  • Added txn.IgnoreApdex() function to ignore Apdex score for a given transaction
  • Added Custom Attributes via environment variables NEW_RELIC_APPLICATION_LOGGING_FORWARDING_CUSTOM_ATTRIBUTES
  • Added nrconnect integration for connect library. Connect is a slim library for building browser and gRPC-compatible HTTP APIs
    • Thank you to community member @​castaneai for contributing to this solution
  • Added nrmongo-v2 integration supporting the mongodb-v2 library
  • Overhauled GitHub Actions Test Suite
    • Added dockerized database support for mongodb and pgx5 integrations
Fixed
  • Enhanced query parameter representation in nrpgx5 integration
  • Fixed a bug where a race condition would occur in identifying container utilization.
  • Capture DynamoDB table name and index name in DatastoreSegment
    • Thank you to community member @​rittneje for contributing to this solution
  • Updated third-party library versions due to reported security or other supportability issues:
    • github.com/gofiber/fiber/v2 to 2.52.7 in nrfiber integration
    • github.com/go-chi/chi/v5 to 5.2.2 in nrgochi integration
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.

v3.39.0: Release 3.39.0

Compare Source

3.39.0

Added
  • Added nrfiber integration for go fiber framework
    • Thank you to community member @​MitulShah1 for contributing to this solution
  • Updated nrslog example with new API
    • Thank you to community member @​frankywahl for contributing to this solution
  • Add Optional Path Filtering Function to nrgin Middleware
    • Thank you to community member @​frknikiz for contributing to this solution
  • Added ConfigDatastoreKeysEnabled to nrreddis integration allowing for reporting the names of keys along with the datastore operations
  • Switched GitHub Action Testing Suite from an Emulated ARM layer to Native ARM layers
  • Added support for time objects for attribute values for nrslog
Fixed
  • Fixed linking metadata location in log messages
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.

v3.38.0: Release 3.38.0

Compare Source

3.38.0

Added
  • Added new integration nrgochi v1.0.0 for support for go-chi library
  • Added IsEnded() method for the Transaction type. Allowing for a straightforward approach to checking if a transaction has ended
    • Community Member @​frknikiz contributed to this solution
Fixed
  • Added caveat to API docs about local log decoration in zap integration
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.

v3.37.0: Release 3.37.0

Compare Source

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.

v3.36.0: Release 3.36.0

Compare Source

3.36.0

Enhanced
  • Internal improvements to securityagent integration to better support trace handling and other support for security analysis of applications under test, now v1.3.4; affects the following other integrations:
    • nrecho, now v1.1.4
    • nrecho-v4, now v1.1.3
    • nrgin, now v1.3.3
    • nrgorilla, now v1.2.3
    • nrgraphqlgo, now v1.0.2
    • nrhttprouter, now v1.1.3
Fixed
  • Added missing license files.
  • Fixed module dependencies in nrgrpc integration, now v1.4.5
  • Corrects handling of panic(nil) to no longer try to keep pre-Go-1.21 behavior but to allow newer language semantics for that condition. Fixes issue 975.
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.

v3.35.1: Release 3.35.1

Compare Source

Hotfix Release

This release was developed to quickly patch an issue with the registration of the New Relic Security Agent.

Fixed

  • Security Agent Bug Hotfix: Do not update the security agent unti the go agent has completed its connect process PR
  • Faster Trace ID generation

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.

v3.35.0: Release 3.35.0

Compare Source

3.35.0

Added
  • Enhanced security features (adds support for secure cookie even reporting)
    • Enables sharing of response headers with the csec-security-agent.
  • Now uses error.Error() value for log attributes
  • nramqp integration cloud services entity relationship changes
    • Enhances url support for amqp server connections
Fixed
  • nrawssdk-v2 integration examples of AppendMiddlewares corrected.
  • Zerolog integration correction to example program import statement.
  • Zerolog integration JSON parser bug caused a runtime panic in some circumstances.
  • Fixed handling of panic(nil). This was made necessary by changes introducted to Go as of 1.21.
  • A race condition was possible due to code level metrics accesses to a contended memory address.
  • Integer size issues flagged when converting unsigned to signed values.
  • Workflow corrections for CI processes in github.
  • Updated to use latest grpc and protobuf versions.
  • Fixes memory stat collection for GOOS=js.
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.

v3.34.0: Release 3.34.0

Compare Source

3.34.0

Added
  • logcontext-v2/nrlogrus can now collect user attributes
  • logcontext-v2/nrslog can now collect user attributes
  • use slog to manage Go agent logs with the new nrslog library
  • use zerolog go manage Go agent logs with the new nrzerolog library
  • support for RegisterTLSConfig in nrmysql
Fixed
  • logcontext-v2/nrlogrus will still print user logs without isses if the Go agent has already been shut down.
  • switched protobuff to google.golang.org/protobuff in modfile
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.

v3.33.1: Release 3.33.1

Compare Source

3.33.1

Added
  • Increased max span events default limit to 2,000 to align with agent specifications
  • Added support for gRPC API endpoints and HTTP status codes in the nrsecurity integration
  • Added feature to detect route of an incoming request for all supported frameworks in the nrsecurity integration.
  • Updated support for latest New Relic Security Agent release.
Fixed
  • Fixed an issue with nrzap attributes not properly being forwarded
  • Improved comments on nropenai
  • Fixed a minor bug relating to ExpectStatusCodes in app_run.go
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.

v3.33.0: Release 3.33.0

Compare Source

3.33.0

Added
  • Support for Zap Field Attributes
  • Updated dependency on csec-go-agent in nrsecurityagent
Fixed
  • Fixed an issue where running containers on AWS would falsely flag Azure Utilization
  • Fixed a typo with nrecho-v3
  • Changed nrslog example to use a context driven handler

These changes increment the affected integration package version numbers to:

  • nrsecurityagent v1.3.1
  • nrecho-v3 v1.1.1
  • logcontext-v2/nrslog v1.2.0
  • logcontext-v2/nrzap v1.2.0
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.

v3.32.0: Release 3.32.0

Compare Source

3.32.0

Added
  • Updates to support for the New Relic security agent to report API endpoints.
    • Adds new wrapper function for the nrecho, nrgin, and nrgorilla integrations.
  • Handler to take New Relic transaction data from context automatically when using nrslog integration (thanks, @​adomaskizogian!)
Fixed
  • Adds missing license file to the nropenai integration.
  • Changes *bedrockruntime.Client parameters in nrawsbedrock integration to use a more general interface type, allowing the use of custom types which extend the bedrock client type.
  • Fixes pgx5 pool example
  • Updated unit tests to check Transaction.Ignore
  • Updated nrzap unit tests to add background logger sugared test case.
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.

v3.31.0: Release 3.31.0

Compare Source

3.31.0

Added
  • Integration packages to instrument AI model invocations (see below).
    • New package nrawsbedrock v1.0.0 introduced to instrument calls to Amazon Bedrock Runtime Client API InvokeModel and InvokeModelWithResponseStream calls. Also provides a simple one-step method which invokes stream invocations and harvests the response stream data for you.
    • New package nropenai v1.0.0 introduced to instrument calls to OpenAI using NRCreateChatCompletion, NRCreateChatCompletionStream, and NRCreateEmbedding calls.
    • Dockerfile in the examples/server sample app which facilitates the easy creation of a containerized ready-to-run sample app for situations where that makes testing easier.
Fixed
  • .Ignore was not ignoring transaction. Fixes Issue #​845.
  • Added nil error check in wrap function. Fixes Issue #​862.
  • WrapBackgroundCore background logger was not sending logs to New Relic. Fixes Issue #​859.
  • Corrected pgx5 integration example which caused a race condition. Thanks to @​WillAbides! Fixes Issue #​855.
  • Updated third-party library versions due to reported security or other supportability issues:
    • github.com/jackc/pgx/v5 to 5.5.4 in nrpgx5 integration
    • google.gopang.org/protobuf to 1.33.0 in nrmicro and nrgrpc integrations
    • github.com/jackc/pgx/v4 to 4.18.2 in nrpgx integration
AI Monitoring Configuration

New configuration options are available specific to AI monitoring. These settings include:

  • AIMonitoring.Enabled, configured via ConfigAIMonitoring.Enabled(bool) [default false]
  • AIMonitoring.Streaming.Enabled, configured via ConfigAIMonitoringStreamingEnabled(bool) [default true]
  • AIMonitoring.Content.Enabled, configured via ConfigAIMonitoringContentEnabled(bool) [default true]
AI Monitoring Public API Methods

Two new AI monitoring related public API methods have been added, as methods of the newrelic.Application value returned by newrelic.NewApplication:

AI Monitoring

New Relic AI monitoring is the industry’s first APM solution that provides end-to-end visibility for AI Large Language Model (LLM) applications. It enables end-to-end visibility into the key components of an AI LLM application. With AI monitoring, users can monitor, alert, and debug AI-powered applications for reliability, latency, performance, security and cost. AI monitoring also enables AI/LLM specific insights (metrics, events, logs and traces) which can easily integrate to build advanced guardrails for enterprise security, privacy and compliance.

AI monitoring offers custom-built insights and tracing for the complete lifecycle of an LLM’s prompts and responses, from raw user input to repaired/polished responses. AI monitoring provides built-in integrations with popular LLMs and components of the AI development stack. This release provides instrumentation for OpenAI
and Bedrock.

When AI monitoring is enabled with ConfigAIMonitoringEnabled(true), the agent will now capture AI LLM related data. This data will be visible under a new APM tab called AI Responses. See our AI Monitoring documentation for more details.

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.

v3.30.0: Release 3.30.0

Compare Source

3.30.0

Added
  • Updated the depencency on nrsecurityagent to 1.0.0.
  • Added new integration, logcontext-v2/nrslog, which instruments logging via the new slog library.
Fixed
  • Redacts license keys from error reporting.
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.

v3.29.1: Release 3.29.1

Compare Source

3.29.1

Added
  • Added Dockerized Unit Tests for Github Actions (internal build support)
Fixes
  • Updated version of New Relic Security Agent (enables bug fixes released in that agent code for use with the Go Agent).
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.

v3.29.0: Release 3.29.0

Compare Source

3.29.0

Added
  • Security agent integration nrsecurityagent now reports security configuraiton information along with the overall Go Agent configuration values. (Updates nrsecurityagent to v1.2.0.)
  • Code-Level Metrics collection efficiency enhancement allows user callback function for as-needed (and just-in-time) evaluation of custom code locations rather than up-front location overrides, via the WithCodeLocationCallback CLM option. Deprecates WithCodeLocation option (although the latter function is still supported for compatibility with existing code).
  • Added extended synthetics support for new X-Newrelic-Synthetics-Info HTTP headers.
  • Documentation fixes.
  • Removed deprecated ROADMAP.md file.
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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Sep 8, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Sep 8, 2025

ℹ Artifact update notice

File name: scheduler/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 11 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.20 -> 1.24
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/uuid v1.4.0 -> v1.6.0
golang.org/x/crypto v0.16.0 -> v0.23.0
golang.org/x/net v0.19.0 -> v0.25.0
golang.org/x/sync v0.5.0 -> v0.7.0
golang.org/x/sys v0.15.0 -> v0.20.0
golang.org/x/text v0.14.0 -> v0.15.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20240528184218-531527333157
google.golang.org/grpc v1.59.0 -> v1.65.0
google.golang.org/protobuf v1.31.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/github.com-newrelic-go-agent-v3-3.x branch from abd1041 to c78c682 Compare September 25, 2025 00:37
@renovate renovate bot changed the title fix(deps): update module github.com/newrelic/go-agent/v3 to v3.40.1 fix(deps): update module github.com/newrelic/go-agent/v3 to v3.41.0 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/github.com-newrelic-go-agent-v3-3.x branch 2 times, most recently from c36e1df to 37808b0 Compare September 25, 2025 10:29
@renovate renovate bot force-pushed the renovate/github.com-newrelic-go-agent-v3-3.x branch from 37808b0 to 74c589c Compare November 20, 2025 01:54
@renovate renovate bot changed the title fix(deps): update module github.com/newrelic/go-agent/v3 to v3.41.0 fix(deps): update module github.com/newrelic/go-agent/v3 to v3.42.0 Nov 20, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: scheduler/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 11 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.20 -> 1.24
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/uuid v1.4.0 -> v1.6.0
golang.org/x/crypto v0.16.0 -> v0.23.0
golang.org/x/net v0.19.0 -> v0.25.0
golang.org/x/sync v0.5.0 -> v0.7.0
golang.org/x/sys v0.15.0 -> v0.20.0
golang.org/x/text v0.14.0 -> v0.15.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20240528184218-531527333157
google.golang.org/grpc v1.59.0 -> v1.65.0
google.golang.org/protobuf v1.31.0 -> v1.34.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant