Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update go easy instrumentation docs to 0.5.0 #19576

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ The scope of what this tool can instrument in your application is limited to the
* Capturing errors in any function wrapped or traced by a transaction
* Tracing locally defined functions that are invoked in the application's `main()` method with a transaction
* Tracing async functions and function literals with an async segment
* Wrapping HTTP handlers
* Adding middleware to supported libraries for tracing
* Injecting distributed tracing into external traffic

### Supported Libraries [#supported-libraries]

* standard library
* net/http
* gin
* gRPC

## Installation [#go-easy-install]

Expand All @@ -74,7 +76,7 @@ go install github.com/newrelic/go-easy-instrumentation@latest
id="setup-go-path"
title="Setting up your GOPATH"
>
The easiest way to use the installed `go-easy-instrumentation` binary is by adding your `GOPATH` bin to your `PATH`.
To install `go-easy-instrumentation` make sure `GOPATH` bin is in your `PATH`.

<CollapserGroup>
<Collapser
Expand Down Expand Up @@ -106,7 +108,7 @@ This tool works best with Git. We recommend you verify your application is on a

1. Run the following CLI command to create a file named `new-relic-instrumentation.diff` in your working directory:
```sh
go-easy-instrumentation -path ../my-application/
go-easy-instrumentation instrument ../my-application/
```
2. Open the `.diff` file and verify or correct the contents.
3. When you are satisfied with the instrumentation suggestions, save the file, and then apply the changes:
Expand Down
Loading