HomePhabricator

Logstash_checker script for canary deploys
102fb2047725Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Logstash_checker script for canary deploys

This patch adds a basic script that compares error rates before a deploy with
those after a deploy. To do this, it queries logstash for a given host &
service name, and calculates mean error / fatal rates before & after a deploy
time, specified via the --delay parameter. If the error ratio exceeds a
threshold (2 by default), the script returns an error.

Once integrated into the deploy process, this script should prevent badly
broken code from being deployed to production.

Bug: T110068
Change-Id: I1a900ee1d7eadc4689e14306a2fc72ad2c138a28

Details

Provenance
GWickeAuthored on Jun 2 2016, 11:49 PM
ChangeId
I1a900ee1d7eadc4689e14306a2fc72ad2c138a28

Commit No Longer Exists

This commit no longer exists in the repository.