-
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
Add beat/process config to elastic agent diagnostics collect #29902
Add beat/process config to elastic agent diagnostics collect #29902
Conversation
Add the configs that are output from elastic-agent inspect output to the bundle generated by elastic-agent diagnostics collect. Files are named as ProcID_RouteKey.
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
This pull request does not have a backport label. Could you fix it @michel-laterman? 🙏
NOTE: |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
@faec may help in some of your SDHs |
Co-authored-by: Anderson Queiroz <contato@andersonq.eti.br>
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.
Looks good.
Changes LGTM, I am been trying to test locally but other stuff is block my build. |
…#29902) * Add beat/process config to elastic agent diagnostics collect Add the configs that are output from elastic-agent inspect output to the bundle generated by elastic-agent diagnostics collect. Files are named as ProcID_RouteKey. * Apply suggestions from code review Co-authored-by: Anderson Queiroz <contato@andersonq.eti.br> Co-authored-by: Anderson Queiroz <contato@andersonq.eti.br>
What does this PR do?
Add the configs that are output from elastic-agent inspect output to the
bundle generated by elastic-agent diagnostics collect. Files are named
as ProcID_RouteKey.
Why is it important?
Include the config that's sent from the agent to underlying processes in the diagnostic bundles to allow us to more easily debug config errors.
Checklist
I have made corresponding change to the default configuration filesI have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Start an agent.
Run
elastic-agent diagnostics collect
once the agent is healthyInspect archive's config files.
Related issues