Add executor name to the build metric
This commit is contained in:
parent
30af8aef1a
commit
1571b2867a
3 changed files with 11 additions and 7 deletions
|
@ -55,7 +55,7 @@ class MetricQueue(object):
|
|||
self.repository_build_completed = prom.create_counter('repository_build_completed',
|
||||
'Repository Build Complete Count',
|
||||
labelnames=['namespace', 'repo_name',
|
||||
'status'])
|
||||
'status', 'executor'])
|
||||
|
||||
self.repository_count = prom.create_gauge('repository_count', 'Number of repositories')
|
||||
self.user_count = prom.create_gauge('user_count', 'Number of users')
|
||||
|
|
Reference in a new issue