def METHOD_NAME(span, is_cluster, name, *args):
    # type: (Span, bool, str, *Any) -> None
    span.set_data(SPANDATA.DB_SYSTEM, "redis")
    span.set_tag("redis.is_cluster", is_cluster)
    if name:
        span.set_tag("redis.command", name)
        span.set_tag(SPANDATA.DB_OPERATION, name)
    if name and args:
        name_low = name.lower()
        if (name_low in _SINGLE_KEY_COMMANDS) or (
            name_low in _MULTI_KEY_COMMANDS and len(args) == 1
        ):
            span.set_tag("redis.key", args[0])