fix(deps): update module github.com/newrelic/go-agent/v3 to v3.42.0 #699
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.28.1→v3.42.0Release Notes
newrelic/go-agent (github.com/newrelic/go-agent/v3)
v3.42.0: Release 3.42.0Compare Source
3.42.0
Added
ConfigTransactionEventsMaxSamplesStoredandConfigErrorCollectorMaxSamplesStoredallowing full control of maximum samples stored for Transaction Events, Custom Insights Events, Error Events, and Log EventsMultiValueHeadersproperty when extracting the headers fromevents.APIGatewayProxyResponsein nrlambdaFixed
nrpxg5integrationnrwriterintegration to use v1.0.2Support 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.0Compare Source
3.41.0
Added
DistributedTracer.Samplerconfig options for controlling the sampling behavior for Inbound Requests for distributed tracesConfigRemoteParentSampled(flag RemoteParentSamplingConfig)andConfigRemoteParentNotSampled(flag RemoteParentSamplingConfig)which handles sampling behavior based on what the remote parent has flagged"always_on", "always_off", and "default"which can be called usingRemoteParentSamplingConfigExample: newrelic.ConfigRemoteParentSampled(newrelic.AlwaysOff)Fixed
github.com/gofiber/fiber/v2from 2.52.7 to 2.52.9 innrfiberintegrationgolang.org/x/netfrom 0.25.0 to 0.38.0 innrconnectintegrationSupport 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.1Compare Source
3.40.1
Fixed
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.0Compare Source
3.40.0
Added
txn.IgnoreApdex()function to ignore Apdex score for a given transactionNEW_RELIC_APPLICATION_LOGGING_FORWARDING_CUSTOM_ATTRIBUTESnrconnectintegration for connect library. Connect is a slim library for building browser and gRPC-compatible HTTP APIsnrmongo-v2integration supporting the mongodb-v2 libraryFixed
github.com/gofiber/fiber/v2to 2.52.7 innrfiberintegrationgithub.com/go-chi/chi/v5to 5.2.2 innrgochiintegrationSupport 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.0Compare Source
3.39.0
Added
Fixed
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.0Compare Source
3.38.0
Added
Fixed
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.0Compare Source
3.37.0
Enhanced
slog.Handlerobjects with errors to allow users to handle invalid use casesWith(),WithGroup(), and attributes for automatic instrumentation.ConfigAppLogForwardingLabelsEnabled(true)orNEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED=TRUEConfigAppLogForwardingLabelsExclude("label1","label2",...)orNEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_EXCLUDE="label1,label2,..."ConfigLabels(...)orNEW_RELIC_LABELSFixed
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.0Compare Source
3.36.0
Enhanced
Fixed
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.1Compare Source
Hotfix Release
This release was developed to quickly patch an issue with the registration of the New Relic Security Agent.
Fixed
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.0Compare Source
3.35.0
Added
error.Error()value for log attributesFixed
AppendMiddlewarescorrected.importstatement.panic(nil). This was made necessary by changes introducted to Go as of 1.21.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.0Compare Source
3.34.0
Added
RegisterTLSConfigin nrmysqlFixed
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.1Compare Source
3.33.1
Added
Fixed
app_run.goSupport 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.0Compare Source
3.33.0
Added
Fixed
These changes increment the affected integration package version numbers to:
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.0Compare Source
3.32.0
Added
nrecho,nrgin, andnrgorillaintegrations.nrslogintegration (thanks, @adomaskizogian!)Fixed
nropenaiintegration.*bedrockruntime.Clientparameters innrawsbedrockintegration to use a more general interface type, allowing the use of custom types which extend the bedrock client type.pgx5pool exampleTransaction.Ignorenrzapunit 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.0Compare Source
3.31.0
Added
InvokeModelandInvokeModelWithResponseStreamcalls. Also provides a simple one-step method which invokes stream invocations and harvests the response stream data for you.NRCreateChatCompletion,NRCreateChatCompletionStream, andNRCreateEmbeddingcalls.examples/serversample app which facilitates the easy creation of a containerized ready-to-run sample app for situations where that makes testing easier.Fixed
.Ignorewas not ignoring transaction. Fixes Issue #845.WrapBackgroundCorebackground logger was not sending logs to New Relic. Fixes Issue #859.github.com/jackc/pgx/v5to 5.5.4 innrpgx5integrationgoogle.gopang.org/protobufto 1.33.0 innrmicroandnrgrpcintegrationsgithub.com/jackc/pgx/v4to 4.18.2 innrpgxintegrationAI Monitoring Configuration
New configuration options are available specific to AI monitoring. These settings include:
AIMonitoring.Enabled, configured viaConfigAIMonitoring.Enabled(bool)[defaultfalse]AIMonitoring.Streaming.Enabled, configured viaConfigAIMonitoringStreamingEnabled(bool)[defaulttrue]AIMonitoring.Content.Enabled, configured viaConfigAIMonitoringContentEnabled(bool)[defaulttrue]AI Monitoring Public API Methods
Two new AI monitoring related public API methods have been added, as methods of the
newrelic.Applicationvalue returned bynewrelic.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.0Compare Source
3.30.0
Added
Fixed
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.1Compare Source
3.29.1
Added
Fixes
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.0Compare Source
3.29.0
Added
nrsecurityagentnow reports security configuraiton information along with the overall Go Agent configuration values. (Updatesnrsecurityagentto v1.2.0.)WithCodeLocationCallbackCLM option. DeprecatesWithCodeLocationoption (although the latter function is still supported for compatibility with existing code).X-Newrelic-Synthetics-InfoHTTP headers.ROADMAP.mdfile.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.
This PR was generated by Mend Renovate. View the repository job log.