@functools.wraps(f)
async def wrapper(*args, **kwargs):
    with H.labels(call=call_key).time():
        if asyncio.iscoroutinefunction(f):
            return (await f(*args, **kwargs))
        else:
            return f(*args, **kwargs)
@functools.wraps(f)
async def wrapper(*args, **kwargs):
    with H.labels(call=call_key).time():
        if asyncio.iscoroutinefunction(f):
            return (await f(*args, **kwargs))
        else:
            return f(*args, **kwargs)