HomePhabricator

Logstash_checker script for canary deploys

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
fgiunchediCommitted on Jul 21 2016, 4:15 PM
Parents
rOPUP23ba26dab9a9: Disable `streaming_socket_timeout_in_ms` setting
Branches
Unknown
Tags
Unknown
ChangeId
I1a900ee1d7eadc4689e14306a2fc72ad2c138a28