Adds predicting server failures experimental plugin#9000
Closed
IsaacHughes74 wants to merge 1 commit intoapache:masterfrom
Closed
Adds predicting server failures experimental plugin#9000IsaacHughes74 wants to merge 1 commit intoapache:masterfrom
IsaacHughes74 wants to merge 1 commit intoapache:masterfrom
Conversation
Adding predicting_server_failures experimental plugin
Member
|
[approve ci] |
Contributor
|
Would be nice to add documentation |
Contributor
|
[approve ci autest] |
1 similar comment
Contributor
|
[approve ci autest] |
Contributor
|
[approve ci] |
|
This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Monitors data rate and server connections to predict origin server failure. Utilizes "death cross" of data rate, where data rate EMA with window size of 5s falls below data rate EMA with window size of 25s, while server connections increase. Slope and EMA calculations are maintained by a background thread periodically calculating statistics. The number of server connections is calculated by incrementing at
TS_EVENT_HTTP_SEND_REQUEST_HDRand decrementing atTS_EVENT_HTTP_TXN_CLOSE, and the data rate is calculated by dividing the content length of the response by the time betweenTS_MILESTONE_SERVER_BEGIN_WRITEandTS_MILESTONE_SERVER_CLOSE.Moving forward: