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

Rely on the latest stable otel, not rc2 #1420

Merged
merged 4 commits into from
Apr 27, 2023
Merged

Conversation

dmathieu
Copy link
Member

I first hoped we could rely on the RC2 for the stable metrics API of otel, which provides more stability.
But the otelhttp instrumentation still relies on 0.37.0. So we need to use that version.

Those variables aren't necessary anymore. And GOPROXY is preventing
upgrading modules, since they can't be cached
@dmathieu dmathieu requested a review from a team April 27, 2023 12:39
@@ -143,8 +143,6 @@ func updateModule(dir string, gomod *GoMod, modules map[string]*GoMod) error {
args = append(args, "-go", *goVersionFlag)
}
cmd := exec.Command("go", args...)
cmd.Env = append(os.Environ(), "GO111MODULE=on")
cmd.Env = append(cmd.Env, "GOPROXY=http://proxy.invalid", "GOSUMDB=sum.golang.org https://sum.golang.org")
Copy link
Member Author

@dmathieu dmathieu Apr 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to remove this, seemingly because of module version changes, which causes a download (before, the modules were in cache).
I'm not sure what the reasoning for GOPROXY is, and will merge to move forward. But I'm happy to rethink this also.

@dmathieu dmathieu merged commit 57632fa into elastic:main Apr 27, 2023
@dmathieu dmathieu deleted the otel-0-37 branch April 27, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants