Closed ahmetb closed 3 years ago
Related to the go get
command, the instrumentation package is named otelhttp
. I'm guessing you are pulling an old package that existed prior to the rename. Can you verify this works?
$ go get go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.20.0
I don't see the go.opentelemetry.io/contrib/instrumentation/net/http
listed in the go.mod
file you provided. Are you getting an error using that mod file?
Ah interesting, I saw the faulty import path at a 3rd party doc https://docs.honeycomb.io/getting-data-in/go/opentelemetry-tutorial/#if-you-dont-use-a-request-router and it was a valid go package. Thanks for answering.
go.mod:
go version go1.16.3 darwin/amd64