Changes
Bug fixes
Infra/Env/ValidateZookeeperPath
no longer panics whenzookeeper_hosts
key doesn’t exist- No longer prompted for upload if
-a
or-api-key
was not provided as a command line flag Base/Env/CollectSysProps
error message for Java Process is no longer shown unless in debug mode
Changes
New feature
-region
command line flag
- The region your New Relic account is hosted in. Accepted values: EU or US. Case insensitive. Default: US
- Example usage:
./nrdiag -region eu ...
- Read more here
Fixed
Resolved an issue that was preventing the CLI from uploading results
重要
This release has been removed due to an issue that prevented it from uploading results. Please use version 2.6.1.
Changes
New feature
-region
command line flag
- The region your New Relic account is hosted in. Accepted values: EU or US. Case insensitive. Default: US
- Example usage:
./nrdiag -region eu ...
- Read more here
Changes
Infra agent
- Infra/Env/ClockSkew: Resolved type assertion error
Ruby agent
- Ruby/Requirements/Version: Updated Ruby versions supported by the agent
Changes
New feature
-api-key
command line flag
- Use your to automatically attach a Diagnostics CLI run to your account. This bypasses the requirement for a validated license key to attach a run.
- Example usage:
./nrdiag -api-key NRAK-123...............
- Read more here
Python agent
- Python/Env/Version: Add check for output of
python3 –version
- Python/Env/Dependencies: Add check for output of
pip3 –version
- Python/Requirements/PythonVersion: Update New Relic agent supportability for Python 3.6, 3.9, 3.10, and 3.11.
Changes
Bug Fix
We fixed some bugs in the scripts used during release.
Changes
Installation
The Diagnostics CLI now includes an installation script which can be used to install and run the CLI with a single command on Linux and Windows. To get started, head over to the Diagnostics CLI Output app. Additional details can be found in the Run the Diagnostics CLI documentation.
Changes
Attach
When uploading a Diagnostics CLI run to your account using the -a
flag, you will now see a permalink to the run in the Diagnostics CLI Output app. This will only work if you have a valid license key.
Changes
Base
- Base/Collector/ConnectUS - Updated to check the connection using https://collector.newrelic.com/jserrors/ping instead of mongrel
- Base/Collector/ConnectEU - Updated to check the connection using https://collector.eu.newrelic.com/jserrors/ping instead of mongrel
- Base/Collector/ConnectTLS - New task that uses https://connection-test.newrelic.com to confirm the host is connecting with TLS 1.2
.NET APM Agent
- Dotnet/Profiler/TLSRegKey - New task to confirm the TLS related registry settings for .NET are set correctly for TLS 1.2 per this document
Infrastructure
- Infra/Agent/Version - Updated to check the release date of the installed agent version and report a failure if it is an unsupported version
- Infra/Agent/Connect - Updated to check the full list of domains listed in here
Changes
- Infra/Log/Collect and Infra/Log/LogLevelCheck - Updated to support new configuration options available for the Infrastructure agent
- DotNetCore/Agent/Installed - Updated to support new install location of the .NET agent
- DotNetCore/Env/Versions - Updated to use
dotnet --info
for determine what versions of .NET Core are installed. If that fails, it will fall back ondotnet --version
, then if both of those commands fail, it will look for the .NET Core installation directories