def __enter__(self):
        self.acquire()
        return self
Use this method to manually add custom metric instances to the registry
dataset/ETHPy150Open openstack/pylockfile/lockfile/__init__.py/_SharedBase.__enter__--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyformance-0.3.2/pyformance/registry.py/MetricsRegistry.add