Fix the ephemeral build metrics
This commit is contained in:
parent
808266574e
commit
dd5f7cbe6c
3 changed files with 4 additions and 4 deletions
|
@ -197,7 +197,7 @@ 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(labelvalues=[build_uuid])
|
||||
metric_queue.ephemeral_build_worker_failure.Inc()
|
||||
raise ec2e
|
||||
|
||||
if not reservation.instances:
|
||||
|
|
Reference in a new issue