Skip to content

Commit

Permalink
Add links to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jjti committed Dec 27, 2023
1 parent f97736d commit 211f8b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Checks usage of [OpenTelemetry spans](https://pkg.go.dev/go.opentelemetry.io/ote

## Problem Statement

Tracing is one of the pillars of observability. But it's easy to shoot yourself in the foot when creating and managing OTEL spans. For two reasons:
Tracing is an -- often celebrated [[1](https://andydote.co.uk/2023/09/19/tracing-is-better/), [2](https://charity.wtf/2022/08/15/live-your-best-life-with-structured-events/)] -- pillar of observability. But it's easy to shoot yourself in the foot when creating and managing OTEL spans. For two reasons:

### Forgetting to call `span.End()`

Expand Down
4 changes: 4 additions & 0 deletions testdata/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,7 @@ func _() {
_, span = otel.Tracer("foo").Start(context.Background(), "bar")
defer span.End()
}

func _() {
// TODO: https://andydote.co.uk/2023/09/19/tracing-is-better/
}

0 comments on commit 211f8b0

Please sign in to comment.