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

"elastic fail 503::" - Improve log message for better debug #1128

Closed
Tracked by #26930
AndersonQ opened this issue Feb 3, 2022 · 1 comment
Closed
Tracked by #26930

"elastic fail 503::" - Improve log message for better debug #1128

AndersonQ opened this issue Feb 3, 2022 · 1 comment
Assignees
Labels
Team:Fleet Label for the Fleet team

Comments

@AndersonQ
Copy link
Member

Describe the enhancement:

At least some error logs from fleet server provide little, sometimes almost no information about the root cause of the error.
ErrElastic.Error() method can be improved to account for ErrElastic.Cause not being empty, and produce a more clear message than elastic fail.... elastic is too broad term, it seems to refer to elasticsearch errors, that can be made explicit in the error message as we all documenting the type.

The current Error method often produces elastic fail 503::, which is cryptic for anyone not quite familiar with the code.
Describe a specific use case for the enhancement or feature:

Investigate production issues

@AndersonQ AndersonQ self-assigned this Feb 3, 2022
@AndersonQ AndersonQ added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Feb 3, 2022
@jlind23 jlind23 changed the title Improve logging for better debug "elastic fail 503::" - Improve log message for better debug May 5, 2022
@jlind23 jlind23 added estimation:Day Task that represents a day of work. v8.4.0 8.5-candidate and removed 8.4-candidate v8.4.0 labels May 24, 2022
@jen-huang jen-huang added Team:Fleet Label for the Fleet team and removed Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team 8.5-candidate estimation:Day Task that represents a day of work. labels Nov 15, 2023
@michel-laterman
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Label for the Fleet team
Projects
None yet
Development

No branches or pull requests

4 participants