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

when running go install of latest telemetrygen version, nothing happens. #30273

Closed
snir-nym opened this issue Jan 3, 2024 · 5 comments
Closed
Labels
cmd/telemetrygen telemetrygen command priority:p1 High question Further information is requested Stale waiting for author

Comments

@snir-nym
Copy link

snir-nym commented Jan 3, 2024

Component(s)

cmd/telemetrygen

Describe the issue you're reporting

when running go install of latest telemetrygen version, nothing happens - no output and no error.
the folder /go/bin doesn't update and telemetrygen doesn't show.
i'm using linux debian 11

@snir-nym snir-nym added the needs triage New item requiring triage label Jan 3, 2024
@github-actions github-actions bot added the cmd/telemetrygen telemetrygen command label Jan 3, 2024
Copy link
Contributor

github-actions bot commented Jan 3, 2024

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@mx-psi
Copy link
Member

mx-psi commented Jan 3, 2024

@snir-nym Thanks for opening the issue. I have not been able to reproduce this on the official

golang Docker image. go install will install the binary under the bin folder in the GOPATH. It may be that your Go install does not install under /go/bin. Can you run

ls $(go env GOPATH)/bin

and check if telemetrygen is there? It may be that you need to add the GOPATH to your PATH.

@mx-psi mx-psi added question Further information is requested waiting for author priority:p1 High and removed needs triage New item requiring triage labels Jan 3, 2024
@cobar79
Copy link

cobar79 commented Jan 26, 2024

@snir-nym First time golang user.

Is the current Telemetry generator for OpenTelemetry out of date? It is very vague on where or how to run telemetrygen

The assumption is that it should really be running a go module? go run telemetrygen.go???

go is installed, go is on the path. However, there is no reference to telemtrygen in ~/go/pkg/mod/go.opentelemetry.io

$ ls $(go env GOPATH)/bin
docker-credential-ecr-login.exe*

~/go/pkg/mod/go.opentelemetry.io
|
---> collector
|
---> otel
|
---> otel@v1.22.0
|
---> proto

go run pdata\@v1.0.1/internal/cmd/pdatagen/main.go
pdata@v1.0.1\internal\cmd\pdatagen\main.go:7:2: no required module provides package go.opentelemetry.io/collector/pdata/internal/cmd/pdatagen/internal: go.mod file not found in current directory or any parent directory; see 'go help modules'

Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Mar 27, 2024
@mx-psi
Copy link
Member

mx-psi commented Mar 27, 2024

Closing since there was no reply to #30273 (comment)

@mx-psi mx-psi closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/telemetrygen telemetrygen command priority:p1 High question Further information is requested Stale waiting for author
Projects
None yet
Development

No branches or pull requests

3 participants