private static Attributes createAttributes(final GrpcUpstream instance) {
        return SubChannels.createAttributes(instance.getWeight(), String.valueOf(instance.isStatus()),
                instance.getUpstreamUrl());
    }
CreateAttributes.

@param instance instance
@return Attributes
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/resolver/ShenyuResolverHelper.java