This repo is archived. Recent updates to open-telemetry-go-contrib have rendered it obsolete.
This is a copy from opentelemetry-go-contrib
The README there says, in part
The last place instrumentation should be hosted is here in this repository. Maintaining instrumentation here hampers the development of OpenTelemetry for Go and therefore should be avoided.
There have been multiple PRs to improve the net/http instrumentation that have not been merged for months and so, in typical go fashion, we have to re-implement it ourselves.
as of v.0.26.1
This copy does not create separate packages for the test and
example code, and so did not copy the go.{mod,sum}
files from those
directories.
- You will need go and pre-commit installed
- run
pre-commit install && pre-commit install-hooks
go test ./...
Install act
To test what happens on a PR
act pull_request