@Nullable
    public static InstanceInfo instanceInfo(Endpoint endpoint) {
        requireNonNull(endpoint, "endpoint");
        return endpoint.attr(INSTANCE_INFO);
    }
Returns the {@link InstanceInfo} associated with the given {@link Endpoint}.

@param endpoint The {@link Endpoint} whose {@link InstanceInfo} is to be retrieved.
@return The {@link InstanceInfo} associated with the specified {@link Endpoint}.
eureka/src/main/java/com/linecorp/armeria/common/eureka/InstanceInfo.java