-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[cmd/opampsupervisor]: Supervisor waits for configurable healthchecks to report remote config status #33805
Conversation
… to report remote config status
…llector-contrib into issue-21079
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
@srikanthccv I don't think I saw this was open 😞 - Could you re-open this/make a new PR? I'll give it a review. |
I don't think that while the supervisor is applying the new config it should report |
@BinaryFissionGames, I have been meaning to submit a new PR but have had a tight work schedule for quite some time. I promise to get back to this soon. |
I would suggest a slight modification from this logic. While applying the new config the Supervisor should continue reporting the value of I agree we should report |
Description:
This pull request addresses the remote config status reporting issue discussed in #21079. Currently, there's no way to determine if the agent terminated due to an incorrect configuration. While we can use the dry-run option, it only performs basic validation. This update introduces the following options to the Agent section of the supervisor config:
successful_health_checks
: The number of consecutive successful checks needed before reporting anAPPLIED
status.config_apply_timeout
: If neither success nor failure is reported within this time frame, aFAILED
status is reported.Link to tracking Issue: #21079
Testing: Added e2e test
Documentation: