Skip to content
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

Allow elastic-agent diagnostics collect to ignore failures #92

Closed
Tracked by #26930
michel-laterman opened this issue Jan 12, 2022 · 3 comments · Fixed by #262
Closed
Tracked by #26930

Allow elastic-agent diagnostics collect to ignore failures #92

michel-laterman opened this issue Jan 12, 2022 · 3 comments · Fixed by #262
Assignees
Labels
debugging enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.3.0

Comments

@michel-laterman
Copy link
Contributor

Describe the enhancement:

The elastic-agent diagnostics collect command will not produce an archive if it encounters a failure gathering logs or config data (and possible meta-data).
The collect command should be able to make a note of these errors in the archive (and echo them to stderr) and continue attempting to gather more data.

Describe a specific use case for the enhancement or feature:

When gathering diagnostics information it is preferable to gather an incomplete archive then no archive.

@michel-laterman
Copy link
Contributor Author

cc @ruflin @ph @jlind23

@michel-laterman michel-laterman added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Jan 12, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@michel-laterman
Copy link
Contributor Author

As reported in elastic/beats#30059, metadata collection will stop gathering data from processes if one fails.

The behaviour should be to output the error and continue collecting from the other processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugging enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants