Skip to content

Commit eef301d

Browse files
authored
Merge pull request #451 from newrelic/release/v0.16.0
Release/v0.16.0
2 parents cfd7816 + f703307 commit eef301d

File tree

6 files changed

+154
-1
lines changed

6 files changed

+154
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="v0.16.0"></a>
2+
## [v0.16.0] - 2020-11-04
3+
### Bug Fixes
4+
- **internal/diagnose:** download udpates via https!
5+
6+
### Features
7+
- **internal/diagnose:** lint command; break out commands & helpers
8+
- **internal/diagnose:** add minimal command line options
9+
- **newrelic:** integrate with nrdiag (prototype)
10+
111
<a name="v0.15.2"></a>
212
## [v0.15.2] - 2020-10-29
313
### Bug Fixes
@@ -287,7 +297,8 @@
287297
- **profile:** Enable reading of profiles and use Region/APIKey from default profile
288298
- **profile:** Add listing of profiles to command
289299

290-
[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v0.15.2...HEAD
300+
[Unreleased]: https://github.com/newrelic/newrelic-client-go/compare/v0.16.0...HEAD
301+
[v0.16.0]: https://github.com/newrelic/newrelic-client-go/compare/v0.15.2...v0.16.0
291302
[v0.15.2]: https://github.com/newrelic/newrelic-client-go/compare/v0.15.1...v0.15.2
292303
[v0.15.1]: https://github.com/newrelic/newrelic-client-go/compare/v0.15.0...v0.15.1
293304
[v0.15.0]: https://github.com/newrelic/newrelic-client-go/compare/v0.14.1...v0.15.0

docs/cli/newrelic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The New Relic CLI enables users to perform tasks against the New Relic APIs
2020
* [newrelic apm](newrelic_apm.md) - Interact with New Relic APM
2121
* [newrelic completion](newrelic_completion.md) - Generates shell completion functions
2222
* [newrelic config](newrelic_config.md) - Manage the configuration of the New Relic CLI
23+
* [newrelic diagnose](newrelic_diagnose.md) - Troubleshoot your New Relic installation
2324
* [newrelic documentation](newrelic_documentation.md) - Generate CLI documentation
2425
* [newrelic edge](newrelic_edge.md) - Interact with New Relic Edge
2526
* [newrelic entity](newrelic_entity.md) - Interact with New Relic entities

docs/cli/newrelic_diagnose.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## newrelic diagnose
2+
3+
Troubleshoot your New Relic installation
4+
5+
### Options
6+
7+
```
8+
-h, --help help for diagnose
9+
```
10+
11+
### Options inherited from parent commands
12+
13+
```
14+
--format string output text format [JSON, Text, YAML] (default "JSON")
15+
--plain output compact text
16+
```
17+
18+
### SEE ALSO
19+
20+
* [newrelic](newrelic.md) - The New Relic CLI
21+
* [newrelic diagnose lint](newrelic_diagnose_lint.md) - Validate your agent config file
22+
* [newrelic diagnose run](newrelic_diagnose_run.md) - Troubleshoot your New Relic-instrumented application
23+
* [newrelic diagnose update](newrelic_diagnose_update.md) - Update the New Relic Diagnostics binary if necessary
24+

docs/cli/newrelic_diagnose_lint.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## newrelic diagnose lint
2+
3+
Validate your agent config file
4+
5+
### Synopsis
6+
7+
Validate your agent config file settings. Currently only available for the Java agent.
8+
9+
Checks the settings in the specified Java agent config file, making sure they have the correct type and structure.
10+
11+
```
12+
newrelic diagnose lint [flags]
13+
```
14+
15+
### Examples
16+
17+
```
18+
newrelic diagnose lint --config-file ./newrelic.yml
19+
```
20+
21+
### Options
22+
23+
```
24+
--config-file string Path to the config file to be validated.
25+
-h, --help help for lint
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
--format string output text format [JSON, Text, YAML] (default "JSON")
32+
--plain output compact text
33+
```
34+
35+
### SEE ALSO
36+
37+
* [newrelic diagnose](newrelic_diagnose.md) - Troubleshoot your New Relic installation
38+

docs/cli/newrelic_diagnose_run.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## newrelic diagnose run
2+
3+
Troubleshoot your New Relic-instrumented application
4+
5+
### Synopsis
6+
7+
Troubleshoot your New Relic-instrumented application
8+
9+
The diagnose command runs New Relic Diagnostics, our troubleshooting suite. The first time you run this command the nrdiag binary appropriate for your system will be downloaded to .newrelic/bin in your home directory.\n
10+
11+
12+
```
13+
newrelic diagnose run [flags]
14+
```
15+
16+
### Examples
17+
18+
```
19+
newrelic diagnose run --suites java,infra
20+
```
21+
22+
### Options
23+
24+
```
25+
--attachment-key string Attachment key for automatic upload to a support ticket (get key from an existing ticket).
26+
-h, --help help for run
27+
--list-suites List the task suites available for the --suites argument.
28+
--suites string The task suite or comma-separated list of suites to run. Use --list-suites for a list of available suites.
29+
--verbose Display verbose logging during task execution.
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--format string output text format [JSON, Text, YAML] (default "JSON")
36+
--plain output compact text
37+
```
38+
39+
### SEE ALSO
40+
41+
* [newrelic diagnose](newrelic_diagnose.md) - Troubleshoot your New Relic installation
42+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## newrelic diagnose update
2+
3+
Update the New Relic Diagnostics binary if necessary
4+
5+
### Synopsis
6+
7+
Update the New Relic Diagnostics binary for your system, if it is out of date.
8+
9+
Checks the currently-installed version against the latest version, and if they are different, fetches and installs the latest New Relic Diagnostics build from https://download.newrelic.com/nrdiag.
10+
11+
```
12+
newrelic diagnose update [flags]
13+
```
14+
15+
### Examples
16+
17+
```
18+
newrelic diagnose update
19+
```
20+
21+
### Options
22+
23+
```
24+
-h, --help help for update
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
--format string output text format [JSON, Text, YAML] (default "JSON")
31+
--plain output compact text
32+
```
33+
34+
### SEE ALSO
35+
36+
* [newrelic diagnose](newrelic_diagnose.md) - Troubleshoot your New Relic installation
37+

0 commit comments

Comments
 (0)