Introducing a new command line flag for the Diagnostics CLI: -include
Use -include
to add a single file or an entire directory (including all files and sub directories) to the zip file created by the CLI. This can be used along with the -attach
flag to provide the files to support. Here’s an example:
./nrdiag_x64 -include /path/to/important/file/or/dir -attach
There are a few limitations:
- The total size of the files must be less than 4 GB
- Executable (.exe) files will be excluded
After the zip is uploaded to your New Relic account, you can access it here:
More details: