chore: Update loadgen service's Docker image to Go 1.24.#432
Open
i-adarsh wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Open
chore: Update loadgen service's Docker image to Go 1.24.#432i-adarsh wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
i-adarsh wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Conversation
aabmass
approved these changes
Mar 3, 2026
| [ | ||
| "go", | ||
| "run", | ||
| "github.com/rakyll/hey@latest", |
Contributor
There was a problem hiding this comment.
Maybe we should pin a version here to avoid this in the future.
@psx95 wdyt?
Contributor
There was a problem hiding this comment.
Yeah +1 to pinning the version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
loadgenservice in examples/instrumentation-quickstart/docker-compose.yaml fails to start because it uses thegolang:1.21image, but thecommandattempts to rungithub.com/rakyll/hey@latest. The latest version ofhey(v0.1.5) requires Go 1.24 or higher.Steps to Reproduce
git clone https://github.com/GoogleCloudPlatform/opentelemetry-operations-java.gitcd opentelemetry-operations-java/examples/instrumentation-quickstartdocker compose upExpected Behavior
The
loadgencontainer should start successfully and generate load against the application.Actual Behavior
The
loadgencontainer exits immediately with the following error:This causes the entire compose stack to shut down if
--abort-on-container-exitis used (as recommended in the README).Environment
GoogleCloudPlatform/opentelemetry-operations-javaexamples/instrumentation-quickstartgolang:1.21(Current)Proposed Fix
Update the
loadgenservice in docker-compose.yaml to use a newer Go image, such asgolang:1.24orgolang:latest.