Giter Site home page Giter Site logo

Comments (8)

lizthegrey avatar lizthegrey commented on August 24, 2024 1

Confirmed that I'm back compiling, thanks!

from opentelemetry-go.

bogdandrutu avatar bogdandrutu commented on August 24, 2024

Try go get -u go.opentelemetry.io

from opentelemetry-go.

lizthegrey avatar lizthegrey commented on August 24, 2024
go get go.opentelemetry.io: unrecognized import path "go.opentelemetry.io" (https fetch: Get https://go.opentelemetry.io?go-get=1: dial tcp: lookup go.opentelemetry.io on 10.10.0.2:53: no such host)

from opentelemetry-go.

bogdandrutu avatar bogdandrutu commented on August 24, 2024

Fixed. The domain was moved to be owned by cncf and the DNS rules were removed somehow. Retry the command (you may need to clear your dns entries).

from opentelemetry-go.

lizthegrey avatar lizthegrey commented on August 24, 2024

bingo. Thank you! Glad it wasn't just a phantom after all.

from opentelemetry-go.

inancgumus avatar inancgumus commented on August 24, 2024

I think this issue is still relevant:

$ go get -u go.opentelemetry.io
go get: [email protected]: parsing go.mod:
        module declares its path as: go.opentelemetry.io/otel
                but was required as: go.opentelemetry.io

from opentelemetry-go.

chriswhiteoco avatar chriswhiteoco commented on August 24, 2024

I am currently getting the error as well:

go: github.com/open-telemetry/[email protected]: parsing go.mod:
        module declares its path as: go.opentelemetry.io/otel
                but was required as: github.com/open-telemetry/opentelemetry-go.

go version:
go version go1.20.1 windows/amd64

go.mod:

go 1.20


require (
	github.com/jackc/pgconn v1.14.0
	github.com/jackc/pgx/v4 v4.18.0
	github.com/jackc/pgx/v5 v5.3.1
	github.com/open-telemetry/opentelemetry-go v1.14.0
)

from opentelemetry-go.

dmathieu avatar dmathieu commented on August 24, 2024

go.opentelemetry.io should never be required itself, as that package doesn't hold any code. Everything is in subpackages.
You should include go.opentelemetry.io/otel for the SDK.
See https://pkg.go.dev/go.opentelemetry.io

Similarly, github.com should never be used in imports. You should use go.opentelemetry.io.
So your issues aren't because of problems in the repository, but with your imports.

from opentelemetry-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.