def gauge(self, key, gauge=None, default=float("nan"), **dims):
        """Adds gauge with dimensions to the registry"""
        return super(MetricsRegistry, self).gauge(
            self.metadata.register(key, **dims), gauge=gauge, default=default)
Adds gauge with dimensions to the registry