Fix the ephemeral build metrics
This commit is contained in:
parent
808266574e
commit
dd5f7cbe6c
3 changed files with 4 additions and 4 deletions
|
@ -475,7 +475,7 @@ class EphemeralBuilderManager(BaseManager):
|
|||
|
||||
try:
|
||||
metric_queue.put_deprecated('EphemeralBuilderStarted', 1, unit='Count')
|
||||
metric_queue.ephemeral_build_workers.Inc(labelvalues=[execution_id, build_uuid])
|
||||
metric_queue.ephemeral_build_workers.Inc()
|
||||
except:
|
||||
logger.exception('Exception when writing start metrics for execution %s for job %s',
|
||||
execution_id, build_uuid)
|
||||
|
|
Reference in a new issue