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

Reduce client errors when servers overloaded #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sgrimm-sg
Copy link

When Scalyr's servers are overloaded, they return a combination of "too
busy" HTTP responses and internal errors, both of which result in
ERROR-level log messages in the agent log.

This commit adds explicit checking for the specific error message that
accompanies internal errors when the servers are too busy, and
downgrades the log messages to warnings since the agent retries
automatically and no human intervention is required.

When Scalyr's servers are overloaded, they return a combination of "too
busy" HTTP responses and internal errors, both of which result in
ERROR-level log messages in the agent log.

This commit adds explicit checking for the specific error message that
accompanies internal errors when the servers are too busy, and
downgrades the log messages to warnings since the agent retries
automatically and no human intervention is required.
@imron
Copy link
Contributor

imron commented Dec 19, 2018

Hi sgrimm-sg, thanks for submitting this pull request, and sorry it slipped through the cracks and didn't get a response for so long. I'll be taking a look at this some time over the next few days and will update you then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants