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

[featuregate] Automatically set GOMEMLIMIT and GOMAXPROCS for collector, target allocator, opamp bridge #2933

Merged
merged 4 commits into from May 22, 2024

Conversation

jaronoff97
Copy link
Contributor

Description:
There's been a lot written about the topic, but basically we should always be setting these for any of the go apps we run.

(good article from John Howard, Istio Maintainer)

Link to tracking Issue(s):

Testing: n/a

Documentation: n/a, though I should probably document this somewhere?

@jaronoff97 jaronoff97 requested a review from a team as a code owner May 7, 2024 20:36
component: collector, target allocator, opamp

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Introduces a new feature gate for `operator.golang.flags` to automatically add the environment variables for GOMAXPROCS and GOMEMLIMIT
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to put this behind a feature gate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i was thinking we would featuregate to roll out slowly so we could test it in case this doesn't have the effect we intend

.chloggen/set-gomemlimit.yaml Outdated Show resolved Hide resolved
config/crd/kustomizeconfig.yaml Outdated Show resolved Hide resolved
Copy link
Member

@pavolloffay pavolloffay left a comment

Choose a reason for hiding this comment

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

I would skip the feature gate and enable it by default

@pavolloffay pavolloffay merged commit 4ef2d6f into open-telemetry:main May 22, 2024
33 checks passed
@jaronoff97 jaronoff97 deleted the set-gomemlimit branch May 22, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants