-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic-Agent] Stop monitoring on config change #18284
[Elastic-Agent] Stop monitoring on config change #18284
Conversation
Pinging @elastic/ingest-management (Team:Ingest Management) |
💚 Build SucceededExpand to view the summary
Build stats
|
Not sure I fully got your description on what it exactly fixes. Could you rephrase it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but haven't tested it.
* stop monitors * changelog
* stop monitors * changelog
What does this PR do?
This PR fixes a behavior of stopping monitoring.
When agent start with monitoring enabled and then configuration changes to disable monitoring or part of it (metrics/logs) agent need to stop respective beats.
Atm agent wont stop them and keeps them running
Why is it important?
Enable stopping of monitoring
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.