forked from heyoutline/cloud_watch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved ThrottlingException handling
* This is an experimental code. Two options are explored: 1. Remove log messages from the buffer (which delays the transfer implicitly). This is safer, but some messages are lost. 2. Delay the transfer then re-try. Consequences are unknown. Risk of compromising system stability. Option heyoutline#2 is used by default. To trigger option #1, set config purge_buffer_if_throttled: true * Added logging of successful flushes (only to CloudWatch backend). Useful for troubleshooting; currently commented out * Added heap limit, restricting the Logger process to a hardwired value of 32MiB (including message queue)
- Loading branch information
Showing
3 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters