April 3, 2023
Diagnostics CLI (nrdiag) v2.4.1
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.
March 22, 2023
Diagnostics CLI (nrdiag) v2.4.0
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.
March 1, 2023
Diagnostics CLI (nrdiag) v2.3.0
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
August 18, 2022
Diagnostics CLI (nrdiag) v2.2.5
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
July 12, 2022
Diagnostics CLI (nrdiag) v2.2.1
Changes
New Relic APM
- PHP/Agent/Version - updates warning if there are multiple versions
Operating System
- Builds for arm64
Bug Fixes
- Upload process optimized
May 17, 2022
Diagnostics CLI (nrdiag) v2.2.0
New Feature
-include
command line flag- Specify a file or directory to include in the
nrdiag-output.zip
file. You can use relative or absolute paths. Use this along with-attach
to upload the file(s) to your New Relic account. - Example usage:
./nrdiag -include ./path/to/file
- Read more here!
- Specify a file or directory to include in the
May 10, 2022
Diagnostics CLI (nrdiag) v2.1.0
Changes
Attachments
- Deprecated command line flag
-attachment-key
for automatic upload to a support ticket. Please use the-attach
flag to upload to your New Relic account instead. Data uploaded with-attach
can be viewed here: https://one.newrelic.com/diagnostics-cli-output
October 13, 2021
Diagnostics CLI (nrdiag) v2.0.0
Changes
Attachments
- Command line flag
-a
or-attachment-key
is now-ak
or-attachment-key
- New command line flag
-a
or-attach
needs no arguments to be supplied to it- Uploads Diagnostics output to a New Relic account
- Removed command line flag
-file-upload
for arbitrary single files uploads - All output is uploaded to S3 if specified with
-attach
or-attachment-key
New Relic APM
- Node/Env/Versions - Node 10 is no longer compatible with New Relic Node.js Agents 8.0.0.0 and above
Bug Fixes
- Infra/Config/IntegrationsValidateJson - JSON validation of OHIS is now compatible with the new and old format for validation of OHIS
April 1, 2021
Diagnostics CLI (nrdiag) v1.12.35
Changes
- Node/Config/Agent - Checks for configuration by environment variables
- Base/Config/Collect - Report secure files rejected for collection in task summary
- Base/Config/ValidateLicenseKey - Gives warning instead of failure in case its an ingest key
- Attachments - Fix issue where automatic attachments to support tickets would fail
- Task Errors Now provide guidance on where to report them
February 3, 2021
Diagnostics CLI (nrdiag) v1.12.33
New
- Base/Log/Copy - It will check for the .NET log files path by looking into
NEWRELIC\_PROFILER\_LOG\_DIRECTORY
andNEW\_RELIC\_LOG
environment variables. - Browser/Agent/GetSource - This validation will now detect when the browser script is not in the head tag
Changes
- Dotnet/Env/Target - Now validates .NET agent is compatible with versions 4.8 and 5.0 for .NET framework.
- Java/JVM/VendorsVersions - It will validate open JDK 7.15 and HotSpot 7.15