-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore(deps): Update module github.com/newrelic/go-agent/v3 to v3.36.0 #142
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/github.heygears.com-newrelic-go-agent-v3-3.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore(deps): Update module github.com/newrelic/go-agent/v3 to v3.36.0 #142
renovate
wants to merge
1
commit into
master
from
renovate/github.heygears.com-newrelic-go-agent-v3-3.x
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c194e98
to
2c136dc
Compare
2c136dc
to
3a44840
Compare
3a44840
to
9ddc4e9
Compare
9ddc4e9
to
017617e
Compare
017617e
to
72a3716
Compare
72a3716
to
c6014ec
Compare
c6014ec
to
f97f568
Compare
f97f568
to
36c763a
Compare
36c763a
to
a4014c1
Compare
a4014c1
to
342af68
Compare
342af68
to
46801ad
Compare
46801ad
to
bc7ef11
Compare
bc7ef11
to
09cd1bc
Compare
09cd1bc
to
8d0d83d
Compare
c8b968e
to
e58a14f
Compare
e58a14f
to
cde3f92
Compare
cde3f92
to
31fb481
Compare
31fb481
to
6cc13da
Compare
6cc13da
to
f9025a9
Compare
f9025a9
to
109e53e
Compare
109e53e
to
9255725
Compare
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
9255725
to
de96a0e
Compare
de96a0e
to
dead9a5
Compare
dead9a5
to
1ff78dd
Compare
1ff78dd
to
20a1f7d
Compare
20a1f7d
to
f5ab1e7
Compare
f5ab1e7
to
81bd488
Compare
81bd488
to
440484b
Compare
440484b
to
a027053
Compare
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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.7.0
->v3.36.0
Release Notes
newrelic/go-agent (github.com/newrelic/go-agent/v3)
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
AppendMiddlewares
corrected.import
statement.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
RegisterTLSConfig
in 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.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.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
, andnrgorilla
integrations.nrslog
integration (thanks, @adomaskizogian!)Fixed
nropenai
integration.*bedrockruntime.Client
parameters innrawsbedrock
integration to use a more general interface type, allowing the use of custom types which extend the bedrock client type.pgx5
pool exampleTransaction.Ignore
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.0Compare Source
3.31.0
Added
InvokeModel
andInvokeModelWithResponseStream
calls. Also provides a simple one-step method which invokes stream invocations and harvests the response stream data for you.NRCreateChatCompletion
,NRCreateChatCompletionStream
, andNRCreateEmbedding
calls.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.WrapBackgroundCore
background logger was not sending logs to New Relic. Fixes Issue #859.github.com/jackc/pgx/v5
to 5.5.4 innrpgx5
integrationgoogle.gopang.org/protobuf
to 1.33.0 innrmicro
andnrgrpc
integrationsgithub.heygears.com/jackc/pgx/v4
to 4.18.2 innrpgx
integrationAI 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.Application
value 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
nrsecurityagent
now reports security configuraiton information along with the overall Go Agent configuration values. (Updatesnrsecurityagent
to v1.2.0.)WithCodeLocationCallback
CLM option. DeprecatesWithCodeLocation
option (although the latter function is still supported for compatibility with existing code).X-Newrelic-Synthetics-Info
HTTP headers.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.
v3.28.1
: Release 3.28.1Compare Source
3.28.1
Added
Added Supportability Metrics to
nrfasthttp
(bringsnrfasthttp
version to v1.0.1).Always Link Transaction IDs to traces regardless of whether Distributed Tracing is enabled or not
Fixed
Fixed an issue where
nil
Request.Body
could be set to non-nil
request.Body
with zero length when the security agent is enabledSecurity
More Secure URL Redaction
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.28.0
: Release 3.28.0Compare Source
3.28.0
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.27.0
: Release 3.27.0Compare Source
3.27.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.26.0
: Release 3.26.0Compare Source
3.26.0
Added
nrpgx5
integration (now v1.2.0). This instruments Postgres database operations using thejackc/pgx/v5
library, including the direct access mode of operation as opposed to requiring code to use the library compatibly with the standarddatabase/sql
library.Corrections
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.25.1
: Release 3.25.1Compare Source
3.25.1
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.25.0
Compare Source
v3.24.1
: Release 3.24.1Compare Source
3.24.1
Fixed
Performance improvement around calls to security agent. In some cases, unnecessary setup operations were being performed even if there was no security agent present to use that. These are now conditional on the security agent being present in the application (note that this will enable the setup code if the security agent is present in the application, regardless of whether it's currently enabled to run). This affects:
nrmongo
integration (updated to v1.1.1)Fixed unit tests for integrations which were failing because code level metrics are enabled by default now:
nrawssdk-v1
(updated to v1.1.2)nrawssdk-v2
(updated to v1.2.2)nrecho-v3
(updated to v1.0.2)nrecho-v4
(updated to v1.0.4)nrhttprouter
(updated to v1.0.2)nrlambda
(updated to v1.2.2)nrnats
(updated to v1.1.5)nrredis-v8
(updated to v1.0.1)Changed
go.mod
files to reflect supported Go language versions.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 (i.e., Go versions 1.19 and later are supported).
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.
v3.24.0
: Release 3.24.0Compare Source
3.24.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 (i.e., Go versions 1.19 and later are supported).
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.
v3.23.1
: Release 3.23.1Compare Source
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 (i.e., Go versions 1.19 and later are supported).
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.
v3.23.0
: Release 3.23.0Compare Source
3.23.0
Added
nrsecurityagent
integration for performing Interactive Application Security Testing (IAST) of your application.nrgin
v1.2.0nrgrpc
v1.4.0nrmicro
v1.2.0nrmongo
v1.2.0nrsqlite3
v1.2.0To learn how to use IAST with the New Relic Go Agent, check out our documentation.
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 (i.e., Go versions 1.19 and later are supported).
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.
v3.22.1
Compare Source
3.22.1
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.22.0
Compare Source
3.22.0
Added
Security 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.21.1
Compare Source
3.21.1
Added
Fixed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.
New
v3.21.0
Compare Source
3.21.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.20.4
Compare Source
Fixed
Added
Support Statement
We also using the latest version of the Go language. At minimum, you should at least 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.20.3
Compare Source
Note that the v2 go agent is no longer supported according to our EOL policy.
Fixed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.20.2
Compare Source
3.20.2
Added
NoticeExpectedError()
method allows you to capture errors that you are expecting to handle, without triggering alertsFixed
nats-server
version to avoid known zip-slip exploitlabstack/echo
version to mitigate known open redirect exploitSupport Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.20.1
: Release 3.20.1Compare Source
3.20.1
Added
nrpgx5
v1.0.0 to instrumentgithub.heygears.com/jackc/pgx/v5
.Changed
TraceOption
function to be consistent with their usage and other related identifier names. The old names remain for backward compatibility, but new code should use the new names.WithIgnoredPrefix
->WithIgnoredPrefixes
WithPathPrefix
->WithPathPrefixes
code.function
attribute is empty or is longer than 255 characters.code.namespace
andcode.filepath
are longer than 255 characters.Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.20.0
Compare Source
PLEASE READ these changes, and verify your config settings to ensure your application behaves how you intend it to. This release changes some default behaviors in the go agent.
Added
ConfigModuleDependencyMetricsEnable(false)
in your application, or setting the equivalent environment variable orConfig
field direclty.ConfigModuleDependencyMetricsIgnoredPrefixes
option.ConfigModuleDependencyMetricsRedactIgnoredPrefixes
option. This is enabled by default.ConfigAppLogForwardingEnabled(false)
in your application.NEW_RELIC_APPLICATION_LOGGING_ENABLED
NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED
NEW_RELIC_APPLICATION_LOGGING_FORWARDING_MAX_SAMPLES_STORED
NEW_RELIC_APPLICATION_LOGGING_METRICS_ENABLED
NEW_RELIC_APPLICATION_LOGGING_LOCAL_DECORATING_ENABLED
ConfigCustomInsightsEventsMaxSamplesStored(limit)
to the limit you want in your application. To learn more about the change and how to determine if custom events are being dropped, see our Explorers Hub post.ConfigCustomInsightsEventsEnabled(false)
can be used to disable the collection of custom events in your application.Changed
Changed the following names to be consistent with their usage and other related identifier names. The old names remain for backward compatibility, but new code should use the new names.
ConfigCodeLevelMetricsIgnoredPrefix
->ConfigCodeLevelMetricsIgnoredPrefixes
ConfigCodeLevelMetricsPathPrefix
->ConfigCodeLevelMetricsPathPrefixes
NEW_RELIC_CODE_LEVEL_METRICS_PATH_PREFIX
->NEW_RELIC_CODE_LEVEL_METRICS_PATH_PREFIXES
NEW_RELIC_CODE_LEVEL_METRICS_IGNORED_PREFIX
->NEW_RELIC_CODE_LEVEL_METRICS_IGNORED_PREFIXES
When excluding information reported from CodeLevelMetrics via the
IgnoredPrefixes
orPathPrefixes
configuration fields (e.g., by specifyingConfigCodeLevelMetricsIgnoredPrefixes
orConfigCodeLevelMetricsPathPrefixes
), the names of the ignored prefixes and the configured path prefixes may now be redacted from the agent configuration information sent to New Relic.false
value toConfigCodeLevelMetricsRedactPathPrefixes
orConfigCodeLevelMetricsRedactIgnoredPrefixes
, or by setting the correspondingConfig
fields or environment variables tofalse
.Fixed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.19.2
Compare Source
3.19.2
Changed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
We also recommend using the latest version of the Go language. At minimum, you should at least 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.19.1
: 3.19.1 - Hotfix ReleaseCompare Source
Changed
Moved the v3/internal/logcontext/nrwriter module to v3/integrations/logcontext-v2/nrwriter
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
See the Go Agent EOL Policy for details about supported versions of the Go Agent and third-party components.
v3.19.0
Compare Source
Added
logcontext-v2/logWriter
plugin: a new logs in context plugin that supports the standard library logging package.logcontext-v2/zerologWriter
plugin: a new logs in context plugin for zerolog that will replace the old logcontext-v2/zerolog plugin. This plugin is more robust, and will be able to support a richer set of features than the previous plugin.Changed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
See the Go Agent EOL Policy for details about supported versions of the Go Agent and third-party components.
v3.18.2
Compare Source
3.18.2
Added
WithDefaultFunctionLocation
trace option. This allows the caller to indicate a fall-back function to use for CLM in case no other location was found first.ThisCodeLocation
andFunctionLocation
, and trace optionsWithThisCodeLocation
andWithFunctionLocation
. These improve performance by caching the result of computing the source code location, and reuse that cached result on all subsequent calls.WithCodeLevelMetrics
trace option to force the collection of CLM data even if it would have been excluded as being out of the configured scope. (Note that CLM data are never collected if CLM is turned off globally or if theWithoutCodeLevelMetrics
option was specified for the same transaction.)CodeLevelMetricsScopeLabelToValue
function to convert a list of strings describing CLM scopes in the same manner as theNEW_RELIC_CODE_LEVEL_METRICS_SCOPE
environment variable (but as individual string parameters), returning theCodeLevelMetricsScope
value which corresponds to that set of scopes.CodeLevelMetricsScopeLabelListToValue
function which takes a comma-separated list of scope names exactly as theNEW_RELIC_CODE_LEVEL_METRICS_SCOPE
environment variable does, and returns theCodeLevelMetrics
value corresponding to that set of scopes.CodeLevelMetricsScope
value, allowing theCodeLevelMetrics
field of the configurationstruct
to be converted to or from JSON or other text-based encoding representations.Changed
WithPathPrefix
trace option now takes any number ofstring
parameters, allowing multiple path prefixes to be recognized rather than just one.FunctionLocation
function now accepts any number of function values instead of just a single one. The first such parameter which indicates a valid function, and for which CLM data are successfully obtained, is the one which will be reported.struct
fieldPathPrefix
is now deprecated with the introduction of a newPathPrefixes
field. This allows for multiple path prefixes to be given to the agent instead of only a single one.NEW_RELIC_CODE_LEVEL_METRICS_SCOPE
environment variable now accepts a comma-separated list of pathnames.Fixed
WrapHandle
andWrapHandleFunc
functions so that they consistently report the function being invoked by thehttp
framework, and improved them to use the new caching functions and ensured they are thread-safe.This release fixes issue #557.
Compatibility Notice
As of release 3.18.0, the API was extended by allowing custom options to be added to calls to the
Application.StartTransaction
method and theWrapHandle
andWrapHandleFunc
functions. They are implemented as variadic functions such that the new option parameters are optional (i.e., zero or more options may be added to the end of the function calls) to be backward-compatible with pre-3.18.0 usage of those functions. This prevents the changes from breaking existing code for typical usage of the agent. However, it does mean those functions' call signatures have changed:StartTransaction(string)
->StartTransaction(string, ...TraceOption)
WrapHandle(*Application, string, http.Handler)
->WrapHandle(*Application, string, http.Handler, ...TraceOption)
WrapHandleFunc(*Application, string, func(http.ResponseWriter, *http.Request))
->WrapHandleFunc(*Application, string, func(http.ResponseWriter, *http.Request), ...TraceOption)
If, for example, you created your own custom interface type which includes the
StartTransaction
method or something that depends on these functions' exact call semantics, that code will need to be updated accordingly before using version 3.18.0 (or later) of the Go Agent.Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
See the Go Agent EOL Policy for details about supported versions of the Go Agent and third-party components.
v3.18.1
Compare Source
3.18.1
Added
IgnoredPrefix
configuration value for Code-Level Metrics so that multiple such prefixes may be given instead of a single one. This deprecates theIgnoredPrefix
configuration field ofConfig.CodeLevelMetrics
in favor of a new slice fieldIgnoredPrefixes
. The corresponding configuration option-setting functionsConfigCodeLevelMetricsIgnoredPrefix
andWithIgnoredPrefix
now take any number of string parameters to set these values. Since those functions used to take a single string value, this change is backward-compatible with pre-3.18.1 code. Accordingly, theNEW_RELIC_CODE_LEVEL_METRICS_IGNORED_PREFIX
environment variable is now a comma-separated list of prefixes. Fixes Issue #551.Fixed
Compatibility Notice
As of release 3.18.0, the API was extended by allowing custom options to be added to calls to the
Application.StartTransaction
method and theWrapHandle
andWrapHandleFunc
functions. They are implemented as variadic functions such that the new option parameters are optional (i.e., zero or more options may be added to the end of the function calls) to be backward-compatible with pre-3.18.0 usage of those functions. This prevents the changes from breaking existing code for typical usage of the agent. However, it does mean those functions' call signatures have changed:StartTransaction(string)
->StartTransaction(string, ...TraceOption)
WrapHandle(*Application, string, http.Handler)
->WrapHandle(*Application, string, http.Handler, ...TraceOption)
WrapHandleFunc(*Application, string, func(http.ResponseWriter, *http.Request))
->WrapHandleFunc(*Application, string, func(http.ResponseWriter, *http.Request), ...TraceOption)
If, for example, you created your own custom interface type which includes the
StartTransaction
method or something that depends on these functions' exact call semantics, that code will need to be updated accordingly before using version 3.18.0 (or later) of the Go Agent.Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
See the Go Agent EOL Policy for details about supported versions of the Go Agent and third-party components.
v3.18.0
Compare Source
3.18.0
Added
ConfigCodeLevelMetricsEnabled(true)
transactions will include information about the location in the source code whereStartTransaction
was invoked.ConfigAppLogForwardingEnabled(true)
.Fixed
Support Statement
New Relic recommends that you upgrade the agent regularly to ensure that you’re getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
v3.17.0
Compare Source
3.17.0
Added
* Adds support for logging metrics which shows the rate of log messages by severity in the Logs chart in the APM Summary view. This is enabled by default in this release.
* Adds support for forwarding application logs to New Relic. This automatically sends application logs that have been enriched to power APM logs in context. This is disabled by default in this release. This will be on by default in a future release.
* To learn more about APM logs in context see the documentation here.
* Includes the
RecordLog
function for recording log data from a single log entry* An integrated plugin for zerolog to automatically ingest log data with the Go Agent.
* Resolves issue 178, issue 488, issue 489, issue 490, and issue 491 .
* This introduces the
nrmssql
integration v1.0.0.ConfigCustomInsightsEventsMaxSamplesStored
for limiting the number of samples stored in a custom insights event. Fixes issue 476Fixed
GrpcStatusLevel
,GrpcStatusMessage
, andGrpcStatusCode
togrpcStatusLevel
,grpcStatusMessage
, andgrpcStatusCode
respectively, to conform to existing naming conventions for New Relic agents. Fixes issue 492.go.mod
for thenrgin
integration to mitigate security issue in 3rd party dependency.go.mod
for thenrawssdk-v1
integration to properly reflect its dependency on version 3.16.0 of the Go Agent.go.mod
for thenrlambda
integration to requireaws-lambda-go
version 1.20.0. ([PR 356](https://redirect.github.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.