aioprometheus.metricdict module

class aioprometheus.metricdict.MetricDict(*args, **kwargs)

Bases: collections.abc.MutableMapping

MetricDict stores the data based on the labels so we need to generate custom hash keys based on the labels

EMPTY_KEY = '__EMPTY__'