Skip to content

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