Skip to content

feat: add gomemlimits debug logs for the amount of reserved memory#8556

Merged
fpetkovski merged 2 commits intothanos-io:mainfrom
TessaIO:feat-add-gomemlimit-logs-indication
Dec 24, 2025
Merged

feat: add gomemlimits debug logs for the amount of reserved memory#8556
fpetkovski merged 2 commits intothanos-io:mainfrom
TessaIO:feat-add-gomemlimit-logs-indication

Conversation

@TessaIO
Copy link
Contributor

@TessaIO TessaIO commented Nov 9, 2025

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Resolves #8483

This PR adds useful debug logs when enabling GOMEMLIMIT, which logs the effective memory limit on startup for all thanos components.

Verification

Local run:

Screenshot 2025-11-09 at 14 57 15

@TessaIO TessaIO force-pushed the feat-add-gomemlimit-logs-indication branch from 7db4141 to c216c6e Compare November 9, 2025 13:52
saswatamcode
saswatamcode previously approved these changes Nov 26, 2025
Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

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

LGTM!

@TessaIO
Copy link
Contributor Author

TessaIO commented Dec 11, 2025

@saswatamcode @GiedriusS can we get this to be merged please?

Copy link
Contributor

@fpetkovski fpetkovski left a comment

Choose a reason for hiding this comment

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

@TessaIO the docs CI failure seems legit. Let's get it resolved and I will merge this.

Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
@TessaIO
Copy link
Contributor Author

TessaIO commented Dec 24, 2025

@fpetkovski thanks for the review. The comment is addressed now. For the doc's failure, I can fix it in another PR.

Copy link
Contributor

@fpetkovski fpetkovski left a comment

Choose a reason for hiding this comment

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

My bad, seems unrelated to this change.

@fpetkovski fpetkovski merged commit 9806043 into thanos-io:main Dec 24, 2025
21 of 22 checks passed
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.

Positive indication in logs whether GOMEMLIMIT was set.

3 participants