Skip to content

Validate MaxRPCMsgSize in controller config#868

Merged
christos68k merged 1 commit into
open-telemetry:mainfrom
ogaca-dd:improve-controller-config-validate
Oct 23, 2025
Merged

Validate MaxRPCMsgSize in controller config#868
christos68k merged 1 commit into
open-telemetry:mainfrom
ogaca-dd:improve-controller-config-validate

Conversation

@ogaca-dd
Copy link
Copy Markdown
Contributor

@ogaca-dd ogaca-dd commented Oct 13, 2025

Improve the validation of the config of the controller.

This is a split of #859 where the goal is to implement Validate on the config without code duplication. See #849 (comment) for more context.

@ogaca-dd
Copy link
Copy Markdown
Contributor Author

@florianl :

  • Can you explain how to fix this comment as I don't know what this code does.
  • Do you have any suggestion where to move this code?

@ogaca-dd ogaca-dd marked this pull request as ready for review October 13, 2025 11:57
@ogaca-dd ogaca-dd requested review from a team as code owners October 13, 2025 11:57
@ogaca-dd ogaca-dd mentioned this pull request Oct 16, 2025
@ogaca-dd
Copy link
Copy Markdown
Contributor Author

@florianl @dmathieu
Could I get your feedback on this PR?

@dmathieu dmathieu changed the title Improve controllerConfig.Validate Validate MaxRPCMsgSize in controller config Oct 23, 2025
@christos68k christos68k merged commit a39c6e5 into open-telemetry:main Oct 23, 2025
29 checks passed
florianl added a commit that referenced this pull request Oct 23, 2025
Removed validation for MaxRPCMsgSize in config.

The merge of #868 prevents eBPF profiler from starting:
```
ERRO[0000] invalid max-rpc-msg-size: got 0, must be greater than 0 
```
@ogaca-dd ogaca-dd mentioned this pull request Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants