Adding in some metrics around clair sec scan.

This commit is contained in:
Charlton Austin 2016-12-01 11:20:31 -05:00
parent 2c637fe5ce
commit edd9dcd7f6
4 changed files with 56 additions and 16 deletions

View file

@ -20,7 +20,7 @@ BUILDER_START_TIME_BUCKETS = [.5, 1.0, 5.0, 10.0, 30.0, 60.0, 120.0, 180.0, 240.
class MetricQueue(object):
""" Object to which various metrics are written, for distribution to metrics collection
system(s) such Prometheus.
system(s) such as Prometheus.
"""
def __init__(self, prom):
# Define the various exported metrics.