-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 generate
fails with mdatagen
error
#33603
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hello @jlg-io, it looks like you need to add |
Thanks @crobert-1, my GOBIN env was empty... Here what I've added to $HOME/.zshrc (I use zsh, would be different if you bash), in case it can help someone else:
|
Component(s)
receiver/vcenter
What happened?
Description
Trying to add a new metric for an existing receiver (
vcenterreceiver
) following CONTRIBUTING.md and got the following error :Steps to Reproduce
cd receiver/redisreceiver
go generate ./...
Expected Result
It should update documentation and the
generated_*
filesActual Result
Additional tests
I also tried to run
make generate
from the root directory, it fails with a similar error:Collector version
v0.102-2.0
Environment information
Environment
OS: Ubuntu 20.04 in WSL2 (Windows 11)
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
This open issue may be related: open-telemetry/opentelemetry-collector#9281
The text was updated successfully, but these errors were encountered: