Compounds are provided which are activators of the enzyme glucokinase and thus are useful in treating diabetes and related diseases, which compounds have the structure wherein R1, R2, R3, R4, R5, R6, Y and X are as defined herein or a pharmaceutically acceptable salt thereof. A method for treating diabetes and related disease employing the above compounds is also provided.