def gauge(key, gauge=None, default=float("nan"), **dims):
    """Adds gauge with dimensions to the global pyformance registry"""
    return global_registry().gauge(key, gauge=gauge, default=default, **dims)
Adds gauge with dimensions to the global pyformance registry