Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get: module go.opentelemetry.io/otel@upgrade found (v1.3.0) 404 #2595

Closed
dino-ma opened this issue Feb 9, 2022 · 7 comments
Closed

go get: module go.opentelemetry.io/otel@upgrade found (v1.3.0) 404 #2595

dino-ma opened this issue Feb 9, 2022 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@dino-ma
Copy link

dino-ma commented Feb 9, 2022

go get: module go.opentelemetry.io/otel@upgrade found (v1.3.0), but does not contain package go.opentelemetry.io/otel/label

@dino-ma dino-ma added the bug Something isn't working label Feb 9, 2022
@dmathieu
Copy link
Member

dmathieu commented Feb 9, 2022

The label package was pre-GA (before 1.0.0). You need to use the attribute package with the most recent versions.
See https://github.com/open-telemetry/opentelemetry-go/tree/main/attribute

See also this example: https://github.com/open-telemetry/opentelemetry-go/blob/main/example/namedtracer/main.go#L33

@dino-ma
Copy link
Author

dino-ma commented Feb 9, 2022

We used to use Jaeger opentracing. Now we want to use this project. Is there any best practice to refer to?

@dmathieu
Copy link
Member

dmathieu commented Feb 9, 2022

OpenTelemetry doesn't necessarily conform to the APIs or package names in Opentracing.
You will therefore have to go through your project and update all calls so they import the proper packages and use the proper methods.

You can find several examples of usages of OpenTelemetry in the example folder.

@dino-ma
Copy link
Author

dino-ma commented Feb 9, 2022

We don't use collect directly, but client - > UDP - > agent - > Collector - > KFK - > injester - > es.
This example is not enough for me.(https://github.com/open-telemetry/opentelemetry-go/blob/main/example/jaeger/main.go)

@dmathieu
Copy link
Member

dmathieu commented Feb 9, 2022

Yes, this repository is the client library, not the collector.
You can also find documentation here: https://opentelemetry.io/docs/instrumentation/go/

After reading all that, you can also ask specific questions in the CNCF slack.

@dino-ma
Copy link
Author

dino-ma commented Feb 9, 2022

Thank you very much. I'll find out first.

@MrAlias
Copy link
Contributor

MrAlias commented Mar 30, 2022

This looks resolved, so I'm going to close. Please reopen if this is in error.

@MrAlias MrAlias closed this as completed Mar 30, 2022
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants