Skip to content

Commit

Permalink
remove duplicate code block and add space
Browse files Browse the repository at this point in the history
  • Loading branch information
8naama committed Dec 22, 2024
1 parent 12ea906 commit 7a52d03
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docs/shipping/Code/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,17 +213,6 @@ func handleErr(err error) {
```

Replace `<<INSTRUMENTATION_NAME>>` with your instrumentation name.

Additionally, add the error handler:

```go
func handleErr(err error) {
if err != nil {
panic(fmt.Errorf("encountered error: %v", err))
}
}
```



### Add metric instruments
Expand Down Expand Up @@ -644,7 +633,7 @@ Give your traces some time to get from your system to ours, and then open [Traci

### Manual Instrumentation

If you're using specific libararies and want to be specific or precise with instrumentation, you can opt to[instrument your code manually](https://opentelemetry.io/docs/languages/go/instrumentation/#traces).
If you're using specific libararies and want to be specific or precise with instrumentation, you can opt to [instrument your code manually](https://opentelemetry.io/docs/languages/go/instrumentation/#traces).


</TabItem>
Expand Down

0 comments on commit 7a52d03

Please sign in to comment.