Add chunk size metric
This commit is contained in:
parent
8f59ac1251
commit
df7366eace
2 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,10 @@ class MetricQueue(object):
|
|||
labelnames=['namespace', 'repo_name',
|
||||
'status', 'executor'])
|
||||
|
||||
self.chunk_size = prom.create_histogram('chunk_size',
|
||||
'Registry blob chunk size',
|
||||
labelnames=['storage_region'])
|
||||
|
||||
self.chunk_upload_time = prom.create_histogram('chunk_upload_time',
|
||||
'Registry blob chunk upload time',
|
||||
labelnames=['storage_region'])
|
||||
|
|
Reference in a new issue