Remove unnecessary CloudWatch metrics

They are spamming the API and costing us a lot of money
This commit is contained in:
Joseph Schorr 2017-02-01 13:08:21 -05:00
parent 14093d41ee
commit b407f88a26
5 changed files with 3 additions and 24 deletions

View file

@ -196,7 +196,6 @@ class EC2Executor(BuilderExecutor):
))
except boto.exception.EC2ResponseError as ec2e:
logger.exception('Unable to spawn builder instance')
metric_queue.put_deprecated('EC2BuildStartFailure', 1, unit='Count')
metric_queue.ephemeral_build_worker_failure.Inc()
raise ec2e